Problem topical
User bribritt
Submission Time 2023-03-24 14:33:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int32_t main()’:
topical.cpp:17:70: error: no match for ‘operator==’ (operand types are ‘ii’ {aka ‘std::pair<long long int, long long int>’} and ‘long long int’)
17 | for(int i = 0; i < k; i++) while(ptr[i] != n && r[i][ptr[i]] == skill[i]) {
| ~~~~~~~~~~~~ ^~ ~~~~~~~~
| | |
| | long long int
| ii {aka std::pair<long long int, long long int>}
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from topical.cpp:1:
/usr/include/c++/9/bits/regex.h:1026:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::