Problem foreveralone
User 123456789
Submission Time 2023-04-28 14:07:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int32_t main()’:
foreveralone.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
foreveralone.cpp:6:2: note: in expansion of macro ‘int’
6 | int n, m; cin >> n >> m;
| ^~~
foreveralone.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, m; cin >> n >> m;
| ^
| yn
foreveralone.cpp:6:9: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
6 | int n, m; cin >> n >> m;
| ^
| tm
foreveralone.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
foreveralone.cpp:7:2: note: in expansion of macro ‘int’
7 | int ans = 0;
| ^~~
foreveralone.cpp:7:6: error: ‘ans’ was not declared in this scope;