Mã chấm: 271332


Main.cc: In function ‘void th(int*, int)’:
Main.cc:13:20: error: ‘n’ was not declared in this scope
     for(int i=1;i<=n;i++){
                    ^
Main.cc: In function ‘int main()’:
Main.cc:21:23: error: ‘N’ was not declared in this scope
     scanf("%d %d %d",&N,&X,&Y);
                       ^
Main.cc:21:26: error: ‘X’ was not declared in this scope
     scanf("%d %d %d",&N,&X,&Y);
                          ^
Main.cc:21:29: error: ‘Y’ was not declared in this scope
     scanf("%d %d %d",&N,&X,&Y);
                             ^
Main.cc:24:5: error: expected ‘;’ before ‘for’
     for(int i=1;i<=N;i++){
     ^~~
Main.cc:24:17: error: ‘i’ was not declared in this scope
     for(int i=1;i<=N;i++){
                 ^
Main.cc:32:14: error: ‘c’ was not declared in this scope
     if(b>=X&&c>=Y){
              ^
Main.cc: In function ‘void nh(int*, int)’:
Main.cc:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&a[i]);
         ~~~~~^~~~~~~~~~~~
Main.cc: In function ‘void th(int*, int)’:
Main.cc:14:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&b[i]);
         ~~~~~^~~~~~~~~~~~