Problem | WA1 |
---|---|
User | ATHY |
Submission Time | 2024-07-16 08:00:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
WA1.cpp: In function ‘int main()’:
WA1.cpp:18:25: error: wrong number of template arguments (1, should be 2)
18 | pair<pair<ll, ll>> currentPair = {x, y};
| ^~
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 WA1.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’
208 | struct pair
| ^~~~
WA1.cpp:18:28: error: scalar object ‘currentPair’ requires one element in initializer
18 | pair<pair<ll, ll>> currentPair = {x, y};
| ^~~~~~~~~~~