Problem duckhunt67
User Spleefies
Submission Time 2026-07-02 14:13:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt67.cpp:2:18: error: template argument 1 is invalid
2 | #define int long long;
| ^~~~
duckhunt67.cpp:5:8: note: in expansion of macro ‘int’
5 | vector<int> m;
| ^~~
duckhunt67.cpp:2:18: error: template argument 2 is invalid
2 | #define int long long;
| ^~~~
duckhunt67.cpp:5:8: note: in expansion of macro ‘int’
5 | vector<int> m;
| ^~~
duckhunt67.cpp:5:11: error: expected unqualified-id before ‘>’ token
5 | vector<int> m;
| ^
duckhunt67.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
duckhunt67.cpp:7:1: note: in expansion of macro ‘int’
7 | int f(int x) {
| ^~~
duckhunt67.cpp:2:22: error: expected ‘)’ before ‘;’ token
2 | #define int long long;
| ^
duckhunt67.c