E.cpp: In function 'void print(int)':
E.cpp:33:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", V1.size());
~~~~~~~~~^
E.cpp:34:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int &t: V1) printf("%d ", t); printf("\n");
^~~
E.cpp:34:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int &t: V1) printf("%d ", t); printf("\n");
^~~~~~
E.cpp:36:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", V2.size());
~~~~~~~~~^
E.cpp: In function 'int main()':
E.cpp:44:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m1, &m2, &t);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E.cpp:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
~~~~~^~~~~~~~~~
E.cpp:54:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
~~~~~^~~~~~~~~~