Problem | candies_ioi |
---|---|
User | Tyx2020 |
Submission Time | 2024-12-17 09:04:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candies_ioi.cpp:67:28: error: wrong number of template arguments (1, should be 2)
67 | pair<long long, pair<long long>> bs(long long x, long long omacs, long long oming) {
| ^~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from candies_ioi.cpp:2:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’
208 | struct pair
| ^~~~
candies_ioi.cpp:67:32: error: template argument 2 is invalid
67 | pair<long long, pair<long long>> bs(long long x, long long omacs, long long oming) {
| ^~
candies_ioi.cpp: In member function ‘int node::bs(long long