hidden.cpp: In function 'std::vector<int> calc(std::vector<int>, int, int, int)':
hidden.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (tmp.size() > lim) {
~~~~~~~~~~~^~~~~
hidden.cpp: In function 'std::vector<int> findSequence(int)':
hidden.cpp:67:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (zero.size() + one.size() < N) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
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++)
~^~~~~~~~~~~~
/tmp/cc8quhU8.o: In function `isSubsequence(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x0): multiple definition of `isSubsequence(std::vector<int, std::allocator<int> >)'
/tmp/ccARU9ym.o:hidden.cpp:(.text+0x0): first defined here
/tmp/cc8quhU8.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccARU9ym.o:hidden.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status