Mã chấm: 98095


Main.cc: In function ‘void nhap(int, int*)’:
Main.cc:11:11: error: ‘i’ was not declared in this scope
  }while(a[i]<=0||a[i]>=100);
           ^
Main.cc:10:8: 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 ‘int main()’:
Main.cc:46:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&n);
   ~~~~~^~~~~~~~~