hidden.cpp: In function 'std::vector<int> findSequence(int)':
hidden.cpp:16:13: error: 'nr1' was not declared in this scope
nr1 = N - stp;
^~~
hidden.cpp:17:13: error: 'nr0' was not declared in this scope
nr0 = stp;
^~~
hidden.cpp:22:13: error: 'nr1' was not declared in this scope
nr1 = stp;
^~~
hidden.cpp:23:13: error: 'nr0' was not declared in this scope
nr0 = N - stp;
^~~
hidden.cpp:38:12: error: 'nr0' was not declared in this scope
if(nr0 <= nr1)
^~~
hidden.cpp:38:19: error: 'nr1' was not declared in this scope
if(nr0 <= nr1)
^~~
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++)
~^~~~~~~~~~~~