art.cpp: In function 'void solve(long long int)':
art.cpp:17:28: error: could not convert 'v' from 'vector<long long int>' to 'vector<int>'
17 | long long prev=publish(v);
| ^
| |
| vector<long long int>
art.cpp:24:37: error: could not convert 'v' from 'vector<long long int>' to 'vector<int>'
24 | long long kolku=publish(v);
| ^
| |
| vector<long long int>
art.cpp:32:36: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(long long pos=0;pos<v.size();pos++)///moze i so mapa da najdeme kade e vo log(n)
| ~~~^~~~~~~~~
art.cpp:44:12: error: could not convert 'v' from 'vector<long long int>' to 'vector<int>'
44 | answer(v);
| ^
| |
| vector<long long int>
interface.cpp: In function 'int publish(std::vector<int>)':
interface.cpp:20:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if(v.size() != N) {
| ~~~~~~~~~^~~~
interface.cpp: In function 'void answer(std::vector<int>)':
interface.cpp:36:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(v.size() != N) {
| ~~~~~~~~~^~~~