Problem hackthectf
User JerryCodebreaker
Submission Time 2026-04-04 14:42:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hackthectf.cpp: In function ‘int main()’:
hackthectf.cpp:3:13: error: ‘unisgned’ was not declared in this scope; did you mean ‘unsigned’?
3 | #define int unisgned long long
| ^~~~~~~~
hackthectf.cpp:5:2: note: in expansion of macro ‘int’
5 | int n,k,a,s=0,t,r;
| ^~~
hackthectf.cpp:6:32: error: wrong number of template arguments (1, should be 2)
6 | priority_queue<pair<int,int>>pq;
| ^~
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 hackthectf.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
| ^~~~
hackth