Mã chấm: 599812


Main.cc: In function ‘int main()’:
Main.cc:22:25: error: ‘i’ was not declared in this scope
   22 |          dem1=dem1*10+a[i];
      |                         ^
Main.cc:9:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
Main.cc:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   11 |         scanf("%d",&a[i]);
      |         ~~~~~^~~~~~~~~~~~
Main.cc:14:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   14 |         scanf("%d",&b[i]);
      |         ~~~~~^~~~~~~~~~~~