Borderou de evaluare (job #776053)

Utilizator avatar carla Carla Emma Garac carla IP ascuns
Problemă Cezark (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 apr. 2024 10:02:22 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:17:19: warning: multi-character character constant [-Wmultichar] 17 | x=(x+k'-z')+'a'-1; | ^~~~ main.cpp: In function 'int main()': main.cpp:9:5: error: 'in' was not declared in this scope; did you mean 'int'? 9 | in>>k; | ^~ | int main.cpp:17:19: error: expected ')' before '\x2d7a' 17 | x=(x+k'-z')+'a'-1; | ~ ^~~~ | ) main.cpp:16:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 16 | else | ^~~~ main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 18 | s=x; | ^ main.cpp:19:13: error: 'out' was not declared in this scope 19 | out<<s; | ^~~