hidden.cpp: In function 'std::vector<int> findSequence(int)':
hidden.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cntsf0 - qu.size() < cntsf1)
~~~~~~~~~~~~~~~~~~~^~~~~~~~
hidden.cpp:39:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < cntsf0 - qu.size(); ++j)
~~^~~~~~~~~~~~~~~~~~~~
hidden.cpp:48:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cntsf1 - qu.size() < cntsf0)
~~~~~~~~~~~~~~~~~~~^~~~~~~~
hidden.cpp:49:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < cntsf1 - qu.size(); ++j)
~~^~~~~~~~~~~~~~~~~~~~
grader.cpp: In function 'int main()':
grader.cpp:28:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
fprintf (fifo_out, "%d\n", ans.size ());
~~~~~~~~~~~^
grader.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<ans.size () && i < N; i++)
~^~~~~~~~~~~~