Mã chấm: 599892


Main.cc: In function ‘int main()’:
Main.cc:9:13: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
    9 |         int a[100000][100000];
      |             ^
Main.cc:16:10: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
   16 |    int n,t;
      |          ^
Main.cc: At global scope:
Main.cc:28:11: error: expected constructor, destructor, or type conversion before ‘(’ token
   28 |     printf("%d",a[1][2]);
      |           ^
Main.cc:29:5: error: expected unqualified-id before ‘return’
   29 |     return 0;
      |     ^~~~~~
Main.cc:30:1: error: expected declaration before ‘}’ token
   30 | }
      | ^
Main.cc: In function ‘int main()’:
Main.cc:17:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
Main.cc:21:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   21 |         scanf("%d%d",&a1,&b1);
      |         ~~~~~^~~~~~~~~~~~~~~~