Borderou de evaluare (job #705321)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji1 | Status | evaluat |
Dată | 12 mar. 2023 21:08:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:14: warning: multi-character character constant [-Wmultichar]
11 | while(c!='"\n"'){
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:14:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(c=='z')
| ^~
main.cpp:16:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | fo.put(c);
| ^~
main.cpp:17:13: error: expected '}' before 'else'
17 | else
| ^~~~
main.cpp:13:29: note: to match this '{'
13 | if(c>='a' && c<='z'){
| ^
main.cpp:17:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
17 | else
| ^~~~
main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
19 | fo.put(c);
| ^~
main.cpp: At global scope:
main.cpp:22:5: error: expected unqualified-id before 'return'
22 | return 0;
| ^~~~~~
main.cpp:23:1: error: expected declaration before '}' token
23 | }
| ^