kvalitetni.cpp: In function 'long double solv(int, int)':
kvalitetni.cpp:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i)
~~^~~~~~~~~~
kvalitetni.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i)
~~^~~~~~~~~~
kvalitetni.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i)
~~^~~~~~~~~~
kvalitetni.cpp:51:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < ans.size(); ++j)
~~^~~~~~~~~~~~
kvalitetni.cpp:61:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i; j < ans.size(); ++j)
~~^~~~~~~~~~~~
kvalitetni.cpp:63:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i; j < ans.size(); ++j)
~~^~~~~~~~~~~~
kvalitetni.cpp:69:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); ++i)
~~^~~~~~~~~~~~
kvalitetni.cpp: In function 'int main()':
kvalitetni.cpp:80:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
~~~~~^~~~~~~~~~
kvalitetni.cpp:83:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &zz[i]);
~~~~~^~~~~~~~~~~~~~
kvalitetni.cpp:86:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", a);
~~~~~^~~~~~~~~~