Problem | stoning |
---|---|
User | jxlau |
Submission Time | 2024-01-19 14:52:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stoning.cpp: In function ‘int32_t main()’:
stoning.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
stoning.cpp:6:5: note: in expansion of macro ‘int’
6 | int n, k;
| ^~~
stoning.cpp:6:9: error: ‘n’ was not declared in this scope
6 | int n, k;
| ^
stoning.cpp:6:12: error: ‘k’ was not declared in this scope
6 | int n, k;
| ^
stoning.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
stoning.cpp:10:10: note: in expansion of macro ‘int’
10 | for (int i = 0; i < n; i++) {
| ^~~
stoning.cpp:10:14: error: ‘i’ was not declared in this scope
10 | for (int i = 0; i < n; i++) {
| ^
stoning.cpp:10:26: error: expected ‘)’ before ‘;’ token
10 | for