foo.cc: In function 'int main()':
foo.cc:88:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
88 | for(int i=1;i<=n;i++) printf("%d ",p[i]); puts("");
| ^~~
foo.cc:88:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
88 | for(int i=1;i<=n;i++) printf("%d ",p[i]); puts("");
| ^~~~
foo.cc:96:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
96 | for(int i=1;i<=n;i++) printf("%d ",ans2[i]); puts("");
| ^~~
foo.cc:96:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
96 | for(int i=1;i<=n;i++) printf("%d ",ans2[i]); puts("");
| ^~~~
foo.cc:71:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
71 | freopen("ce.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:73:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
73 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:74:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
74 | for(int i=1;i<=n;i++) scanf("%d",&tim[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:78:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
78 | scanf("%d%d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务