foo.cc: In function 'int main()':
foo.cc:50:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=k;i++) printf("%d ",an1[i]);printf("\n");
^~~
foo.cc:50:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=1;i<=k;i++) printf("%d ",an1[i]);printf("\n");
^~~~~~
foo.cc:51:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=l;i++) printf("%d ",an2[i]);printf("\n");
^~~
foo.cc:51:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=1;i<=l;i++) printf("%d ",an2[i]);printf("\n");
^~~~~~
foo.cc:24:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&m,&n,&k,&l,&d);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:27:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&p,&q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:52:7: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("pause");
~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务