Problem | doll_noi |
---|---|
User | usernamehere |
Submission Time | 2024-02-12 14:50:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:4:12: error: ‘std::set<std::pair<int, int> >::iterator’ {aka ‘struct std::_Rb_tree_const_iterator<std::pair<int, int> >’} has no member named ‘first’
4 | #define fi first
| ^~~~~
doll_noi.cpp:62:15: note: in expansion of macro ‘fi’
62 | if (*above.fi != curr && *below.se != curr) {
| ^~
doll_noi.cpp:5:12: error: ‘std::set<std::pair<int, int> >::iterator’ {aka ‘struct std::_Rb_tree_const_iterator<std::pair<int, int> >’} has no member named ‘second’
5 | #define se second
| ^~~~~~
doll_noi.cpp:62:36: note: in expansion of macro ‘se’
62 | if (*above.fi != curr && *below.se != curr) {
| ^~