Borderou de evaluare (job #792936)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Paranteze 1 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 nov. 2024 18:19:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:34: error: expected ')' before 'a'
19 | if(a[i]!='{' || a[i]!='(' a[i]!='}' a[i]!=')')
| ~ ^~
| )
main.cpp:36:30: error: expected ')' before 'a'
36 | if(a[i]!='{' || a[i]!='(' a[i]!='}' a[i]!=')')
| ~ ^~
| )
main.cpp:38:17: error: expected ';' before string constant
38 | fout"-1";
| ^~~~
| ;
main.cpp:38:13: warning: statement has no effect [-Wunused-value]
38 | fout"-1";
| ^~~~