Problem | whiteboardgame |
---|---|
User | kaien |
Submission Time | 2024-12-02 21:55:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
whiteboardgame.cpp: In function ‘int main()’:
whiteboardgame.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
whiteboardgame.cpp:9:2: note: in expansion of macro ‘int’
9 | int n, q;
| ^~~
whiteboardgame.cpp:9:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | int n, q;
| ^
| yn
whiteboardgame.cpp:9:9: error: ‘q’ was not declared in this scope
9 | int n, q;
| ^
whiteboardgame.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
whiteboardgame.cpp:11:2: note: in expansion of macro ‘int’
11 | int arr[n], minimum = INT_MAX, total = 0;
| ^~~
whiteboardgame.cpp:11:6: error: ‘arr’ was not declared in this scope
11 | int arr[n], minimum = INT_MAX, total = 0;
| ^~~
whit