Problem | sum |
---|---|
User | duck |
Submission Time | 2024-12-02 10:21:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int32_t main()’:
sum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sum.cpp:5:2: note: in expansion of macro ‘int’
5 | int n; cin >> n;
| ^~~
sum.cpp:5:6: error: ‘n’ was not declared in this scope
5 | int n; cin >> n;
| ^
sum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sum.cpp:6:2: note: in expansion of macro ‘int’
6 | int x = 0;
| ^~~
sum.cpp:6:6: error: ‘x’ was not declared in this scope
6 | int x = 0;
| ^
sum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sum.cpp:7:2: note: in expansion of macro ‘int’
7 | int y = 0;
| ^~~
sum.cpp:7:6: error: ‘y’ was not decla