garage.cpp: In function 'int main()':
garage.cpp:17:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(int i=1;i<=n;i++) printf("%i ",broj[i]);printf("\n");
| ^~~
garage.cpp:17:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | for(int i=1;i<=n;i++) printf("%i ",broj[i]);printf("\n");
| ^~~~~~
garage.cpp:9:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | int n,m;scanf("%i%i",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
garage.cpp:10:44: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | int a[n+10];for(int i=1;i<=n;i++) scanf("%i",&a[i]);
| ~~~~~^~~~~~~~~~~~
garage.cpp:11:44: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | int b[m+10];for(int i=1;i<=m;i++) scanf("%i",&b[i]);
| ~~~~~^~~~~~~~~~~~
garage.cpp:18:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | int j;scanf("%i",&j);
| ~~~~~^~~~~~~~~