Submission #99561

# Submission time Handle Problem Language Result Execution time Memory
99561 2019-03-05T07:11:01 Z tushar_2658 Hidden Sequence (info1cup18_hidden) C++14
Compilation error
0 ms 0 KB



    

Compilation message

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/ccmLHymR.o: In function `main':
grader.cpp:(.text.startup+0x3e): undefined reference to `findSequence(int)'
collect2: error: ld returned 1 exit status