Problem | zanesletters |
---|---|
User | JoshJuice |
Submission Time | 2025-06-05 00:35:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
zanesletters.cpp: In function ‘int main()’:
zanesletters.cpp:21:12: error: ‘struct std::_Rb_tree_iterator<std::pair<const std::vector<int>, int> >’ has no member named ‘second’
21 | #define sc second
| ^~~~~~
zanesletters.cpp:34:45: note: in definition of macro ‘MXTO’
34 | #define MXTO(x,y) x = max(x, (__typeof__(x))y)
| ^
zanesletters.cpp:50:18: note: in expansion of macro ‘sc’
50 | MXTO(ans, it.sc);
| ^~
zanesletters.cpp:22:12: error: ‘struct std::_Rb_tree_iterator<std::pair<const std::vector<int>, int> >’ has no member named ‘first’
22 | #define fr first
| ^~~~~
zanesletters.cpp:51:18: note: in expansion of macro ‘fr’
51 | it = m.ub(it.fr);
| ^~