E.cpp: In function 'int main()':
E.cpp:74:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
74 | printf("%d\n", V1.size());
| ~^ ~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:75:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
75 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:75:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
75 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:90:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
90 | printf("%d\n", V1.size()+V2.size());
| ~^ ~~~~~~~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:91:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
91 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:91:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
91 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:92:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
92 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~
E.cpp:92:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
92 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:111:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
111 | printf("%d\n", V1.size()+V2.size());
| ~^ ~~~~~~~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
E.cpp:112:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
112 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~
E.cpp:112:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
112 | for(auto it : V1) printf("%d ", it); printf("\n");
| ^~~~~~
E.cpp:113:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
113 | for(auto it : V2) printf("%d ", it); printf("\n");
| ^~~
E.cpp:113:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
113 | 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;
| ~~~~~^~~~~~~~~~~~~