Borderou de evaluare (job #686887)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tastatura2 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 ian. 2023 14:08:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:17: error: empty character constant
15 | if(c-n>='') {
| ^~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fin' was not declared in this scope
9 | fin>>n;
| ^~~
main.cpp:16:18: error: expected ';' before '}' token
16 | c=c-n
| ^
| ;
17 | }
| ~
main.cpp:19:6: error: expected '}' at end of input
19 | }
| ^
main.cpp:6:1: note: to match this '{'
6 | {
| ^