del13.cpp:5:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4996)
del13.cpp: In function 'std::vector<int> solve(int, std::vector<int>)':
del13.cpp:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= A.size(); i++) {
~~^~~~~~~~~~~
del13.cpp:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= A.size(); i++) { col[A[i - 1]] = i; }
~~^~~~~~~~~~~
del13.cpp:63:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= A.size(); i++) {
~~^~~~~~~~~~~
del13.cpp:68:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= A.size(); i++) {
~~^~~~~~~~~~~
del13.cpp: In function 'int main()':
del13.cpp:99:27: 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", L.size());
~~~~~~~~^
del13.cpp:100:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < L.size(); j++) { if (j) printf(" "); printf("%d", L[j]); }
~~^~~~~~~~~~
del13.cpp:90:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int T; scanf("%d", &T);
~~~~~^~~~~~~~~~
del13.cpp:93:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N1, &V1);
~~~~~^~~~~~~~~~~~~~~~~~
del13.cpp:94:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int j = 1; j <= V1; j++) { int p; scanf("%d", &p); A1.push_back(p); }
~~~~~^~~~~~~~~~