hidden.cpp: In function 'std::vector<int> findSequence(int)':
hidden.cpp:33:9: error: 'qu2' was not declared in this scope
qu2.clear();
^~~
hidden.cpp:33:9: note: suggested alternative: 'qu1'
qu2.clear();
^~~
qu1
hidden.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(qu.size() <= (N/2+1))
~~~~~~~~~~^~~~~~~~~~
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++)
~^~~~~~~~~~~~