Problem hld_easy_2
User sporknives
Submission Time 2025-12-26 15:06:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hld_easy_2.cpp:2:18: error: wrong number of template arguments (1, should be 2)
2 | #define int long long;
| ^~~~
hld_easy_2.cpp:4:14: note: in expansion of macro ‘int’
4 | typedef pair<int,int> pii;
| ^~~
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 hld_easy_2.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
| ^~~~
hld_easy_2.cpp:4:17: error: expected unqualified-id before ‘,’ token
4 | typedef pair<int,int> pii;
| ^
hld_easy_2.cpp:2:13: error: expected unqualified-id before ‘long’
2 | #define int lo