hidden.cpp: In function 'std::vector<long long int> findSequence(long long int)':
hidden.cpp:42:32: error: could not convert 's' from 'vector<long long int>' to 'vector<int>'
42 | bool x = isSubsequence(s);
| ^
| |
| vector<long long int>
hidden.cpp:44:25: error: 'i' was not declared in this scope
44 | for (int I = 1; i < n; i++){
| ^
hidden.cpp:55:43: error: could not convert 't' from 'vector<long long int>' to 'vector<int>'
55 | x = isSubsequence(t);
| ^
| |
| vector<long long int>
hidden.cpp:71:43: error: could not convert 't' from 'vector<long long int>' to 'vector<int>'
71 | x = isSubsequence(t);
| ^
| |
| vector<long long int>
hidden.cpp:78:1: warning: no return statement in function returning non-void [-Wreturn-type]
78 | }
| ^
grader.cpp: In function 'int main()':
grader.cpp:28:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
28 | fprintf (fifo_out, "%d\n", ans.size ());
| ~^ ~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld