Problem whiteboardgame
User taqtru
Submission Time 2024-12-02 15:31:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

whiteboardgame.cpp:2:12: error: expected initializer before ‘long’
2 | #define ll long long
| ^~~~
whiteboardgame.cpp:6:5: note: in expansion of macro ‘ll’
6 | ll sum = 0;
| ^~
whiteboardgame.cpp:7:13: error: ‘v’ was not declared in this scope
7 | int n = v.size();
| ^
whiteboardgame.cpp:8:5: error: expected unqualified-id before ‘for’
8 | for (int i = 0; i < n; i++){
| ^~~
whiteboardgame.cpp:8:21: error: ‘i’ does not name a type
8 | for (int i = 0; i < n; i++){
| ^
whiteboardgame.cpp:8:28: error: ‘i’ does not name a type
8 | for (int i = 0; i < n; i++){
| ^
whiteboardgame.cpp:11:28: error: ‘v’ was not declared in this scope
11 | ll smol = *min_element(v.begin(),v.end());
| ^
whiteboardgame.cpp:11:38: error: ‘v’ was not