Problem flipcards
User YSH2020
Submission Time 2023-12-20 13:57:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flipcards.cpp: In function ‘int main()’:
flipcards.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
flipcards.cpp:5:5: note: in expansion of macro ‘int’
5 | int n, m; cin >> n >> m;
| ^~~
flipcards.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, m; cin >> n >> m;
| ^
| yn
flipcards.cpp:5:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
5 | int n, m; cin >> n >> m;
| ^
| tm
flipcards.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
flipcards.cpp:6:5: note: in expansion of macro ‘int’
6 | int a[n], b[n]; for (int i = 0; i < n; i++) cin >> a[i] >> b[i];
| ^