E.cpp: In function 'int main()':
E.cpp:73:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
73 | printf("%d\n", V1.size());
| ~^ ~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:74:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
74 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:74:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
74 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:88:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
88 | printf("%d\n", V1.size()+V2.size());
| ~^ ~~~~~~~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:89:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
89 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:89:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
89 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:90:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
90 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~
E.cpp:90:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
90 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:108:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
108 | printf("%d\n", V1.size()+V2.size());
| ~^ ~~~~~~~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:109:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
109 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:109:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
109 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:110:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
110 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~
E.cpp:110:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
110 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:64:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
64 | scanf("%d%d%d%d", &N, &M1, &M2, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E.cpp:65:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
65 | for(int i=1; i<=M1; i++) scanf("%d", &A[i]), S[1][A[i]]=1;
| ~~~~~^~~~~~~~~~~~~
E.cpp:66:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
66 | for(int i=1; i<=M2; i++) scanf("%d", &B[i]), S[2][B[i]]=1;
| ~~~~~^~~~~~~~~~~~~