Problem | consistency |
---|---|
User | chenweilian |
Submission Time | 2023-02-16 21:59:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
consistency.cpp: In function ‘int main()’:
consistency.cpp:56:19: 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 ‘fir’; did you mean ‘first’?
56 | cin>>queries[i].fir>>queries[i].sec;
| ^~~
| first
consistency.cpp:56:35: 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’
56 | cin>>queries[i].fir>>queries[i].sec;
| ^~~
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(queri