Borderou de evaluare (job #770628)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gcd (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 mar. 2024 11:36:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void eratos(int)':
main.cpp:28:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
28 | int main()
| ^~
main.cpp:28:9: note: remove parentheses to default-initialize a variable
28 | int main()
| ^~
| --
main.cpp:28:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:29:1: error: a function-definition is not allowed here before '{' token
29 | {
| ^
main.cpp:91:2: error: expected '}' at end of input
91 | }
| ^
main.cpp:12:1: note: to match this '{'
12 | {
| ^