Borderou de evaluare (job #678799)

Utilizator avatar AlexandruCondorache Condorache Alexandru AlexandruCondorache IP ascuns
Problemă Paranteze 3 (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 dec. 2022 17:20:56 Scor 0

Raport evaluator

Eroare de compilare: main.c:5:9: error: expected declaration specifiers or '...' before string constant 5 | freopen("paranteze3.in","r",stdin); | ^~~~~~~~~~~~~~~ main.c:5:25: error: expected declaration specifiers or '...' before string constant 5 | freopen("paranteze3.in","r",stdin); | ^~~ In file included from main.c:1: main.c:5:29: error: expected declaration specifiers or '...' before 'stdin' 5 | freopen("paranteze3.in","r",stdin); | ^~~~~ main.c:6:9: error: expected declaration specifiers or '...' before string constant 6 | freopen("paranteze3.out","w",stdout); | ^~~~~~~~~~~~~~~~ main.c:6:26: error: expected declaration specifiers or '...' before string constant 6 | freopen("paranteze3.out","w",stdout); | ^~~ In file included from main.c:1: main.c:6:30: error: expected declaration specifiers or '...' before 'stdout' 6 | freopen("paranteze3.out","w",stdout); | ^~~~~~