Problem | mountains |
---|---|
User | chenweilian |
Submission Time | 2023-02-23 15:45:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mountains.cpp:12:18: error: wrong number of template arguments (1, should be 2)
12 | #define int long long;
| ^~~~
mountains.cpp:29:14: note: in expansion of macro ‘int’
29 | typedef pair<int, int> pii;
| ^~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from mountains.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
| ^~~~
mountains.cpp:29:17: error: expected unqualified-id before ‘,’ token
29 | typedef pair<int, int> pii;
| ^
mountains.cpp:12:13: error: expected unqualified-id befo