Problem | ballgame |
---|---|
User | jeongwonho64 |
Submission Time | 2023-08-04 14:46:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ballgame.cpp: In function ‘int ballgame(int, int, int, int*, int*)’:
ballgame.cpp:59:23: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’} has no member named ‘get’
59 | root->update(v[0].get<1>(),1);
| ^~~
ballgame.cpp:59:30: error: expected primary-expression before ‘)’ token
59 | root->update(v[0].get<1>(),1);
| ^
ballgame.cpp:79:31: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’} has no member named ‘get’
79 | return root->query(v[N-1].get<1>(),v[N-1].get<1>());
| ^~~
ballgame.cpp:79:38: error: expected primary-expression befor