Borderou de evaluare (job #765268)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Optim (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 feb. 2024 15:34:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve(int, int, int, int, int)':
main.cpp:32:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
32 | int main()
| ^~
main.cpp:32:9: note: remove parentheses to default-initialize a variable
32 | int main()
| ^~
| --
main.cpp:32:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:33:1: error: a function-definition is not allowed here before '{' token
33 | {
| ^
main.cpp:43:2: error: expected '}' at end of input
43 | }
| ^
main.cpp:11:1: note: to match this '{'
11 | {
| ^