Borderou de evaluare (job #767482)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comanda (clasa 5-6) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 mar. 2024 16:00:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:13: error: expected '}' before 'else'
26 | else
| ^~~~
main.cpp:25:17: note: to match this '{'
25 | {y=y*x+c-'0';
| ^
main.cpp:30:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
30 | if(y!=0)
| ^~
main.cpp:32:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if(x<=1||x>16)ok=0;
| ^~