Borderou de evaluare (job #776063)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezark (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 apr. 2024 10:10:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:19: warning: multi-character character constant [-Wmultichar]
18 | x=(x+k'-z')+'a'-1;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:18:19: error: expected ')' before '\x2d7a'
18 | x=(x+k'-z')+'a'-1;
| ~ ^~~~
| )
main.cpp:17:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
17 | else
| ^~~~
main.cpp:19:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
19 | s=x;
| ^