Problem guessqueue
User Henries
Submission Time 2024-10-23 12:52:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guessqueue.cpp: In function ‘int main()’:
guessqueue.cpp:16:16: error: wrong number of template arguments (1, should be 2)
16 | set<pair<long long>> s;
| ^~~~
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 guessqueue.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
| ^~~~
guessqueue.cpp:16:20: error: template argument 1 is invalid
16 | set<pair<long long>> s;
| ^~
guessqueue.cpp:16:20: error: template argument 2 is invalid
guessqueue.cpp:16:20: error: template argument 3 is invalid
guessqueue.cpp:62:12: error: request f