padak.cpp: In function 'int main()':
padak.cpp:74:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1, p = 0; p < vt.size(); i++)
^
padak.cpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p < vt.size() && vt[p] < i) ++p;
^
padak.cpp:77:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < k && p < vt.size(); j++, ans2++, p++)
^
padak.cpp:18:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&n,&m,&k,&b,&z);
^
padak.cpp:27:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^