Problem | gotoschool |
---|---|
User | WangZ |
Submission Time | 2025-07-03 20:41:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:7:9: error: wrong number of template arguments (1, should be at least 2)
7 | map<int>(int,int) m;
| ^
In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from gotoschool.cpp:1:
/usr/include/c++/9/bits/stl_map.h:100:11: note: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
100 | class map
| ^~~
gotoschool.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
gotoschool.cpp:7:11: note: in expansion of macro ‘int’
7 | map<int>(int,int) m;
| ^~~
gotoschool.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
gotoschool.cpp:7:15: note: in expansion o