Problem consistency
User chenweilian
Submission Time 2023-02-16 22:07:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

consistency.cpp: In function ‘int main()’:
consistency.cpp:57:17: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type’ {aka ‘struct std::pair<int, int>’} has no member named ‘sec’
57 | if(queries[i].sec != 1) {
| ^~~
consistency.cpp:79:1: error: expected ‘}’ at end of input
79 | }
| ^
consistency.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^