Borderou de evaluare (job #746616)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cuvinte (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 nov. 2023 18:52:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:73: error: expected ')' before 'n'
15 | if(( m=='.' || m==',' || m==' ' || m=='\n') && (n=='.' || n==',' n!=' '))
| ~ ^ ~
| )
main.cpp:19:9: error: expected ')' before 'n'
19 | }
| ^
| )
20 |
21 | n=m;
| ~
main.cpp:15:10: note: to match this '('
15 | if(( m=='.' || m==',' || m==' ' || m=='\n') && (n=='.' || n==',' n!=' '))
| ^
main.cpp:10:8: warning: unused variable 'i' [-Wunused-variable]
10 | int i,c=0;
| ^