Problem card
User mentcletan
Submission Time 2024-08-10 20:09:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
card.cpp:5:1: note: in expansion of macro ‘int’
5 | int main(){
| ^~~
card.cpp: In function ‘int main()’:
card.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
card.cpp:7:5: note: in expansion of macro ‘int’
7 | int a,b; cin>>a>>b;
| ^~~
card.cpp:7:9: error: ‘a’ was not declared in this scope
7 | int a,b; cin>>a>>b;
| ^
card.cpp:7:11: error: ‘b’ was not declared in this scope
7 | int a,b; cin>>a>>b;
| ^
card.cpp:4:18: error: template argument 1 is invalid
4 | #define int long long;
| ^~~~
card.cpp:11:12: note: in expansion of macro ‘int’
11 | deque <int> q;