Problem pythonlist
User scse513
Submission Time 2026-11-05 14:29:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
pythonlist.cpp:4:9: note: in expansion of macro ‘int’
4 | vector <int> a;
| ^~~
pythonlist.cpp:3:18: error: template argument 2 is invalid
3 | #define int long long;
| ^~~~
pythonlist.cpp:4:9: note: in expansion of macro ‘int’
4 | vector <int> a;
| ^~~
pythonlist.cpp:4:12: error: expected unqualified-id before ‘>’ token
4 | vector <int> a;
| ^
pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
pythonlist.cpp:7:5: note: in expansion of macro ‘int’
7 | int Q; cin >> Q;
| ^~~
pythonlist.cpp:7:9: error: ‘Q’ was not declared in this scope
7 |