Problem | malguem |
---|---|
User | PlayVoltz |
Submission Time | 2024-12-23 11:36:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
malguem.cpp:23:1: error: ‘pii’ does not name a type
23 | pii lca(int a, int b){
| ^~~
malguem.cpp: In function ‘void start_game(int, int, std::vector<int>, std::vector<int>)’:
malguem.cpp:57:15: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
57 | graph[r[i]].pb(s[i]);
| ^~
malguem.cpp:58:15: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
58 | graph[s[i]].pb(r[i]);
| ^~
malguem.cpp: In function ‘int find_mex(int, int)’:
malguem.cpp:85:2: error: ‘pii’ was not declared in this scope
85 | pii res=lca(a, b);
| ^~~
malguem.cpp:86:6: error: ‘res’ was not declared in this scope
86 | if (res