Borderou de evaluare (job #601550)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Speciale (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 iul. 2021 12:26:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 | if(k == 9)
| ^~
main.cpp:31:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
31 | cout << m;
| ^~~~
main.cpp:38:9: error: 'cras' was not declared in this scope; did you mean 'ras'?
38 | cras = ras;
| ^~~~
| ras
main.cpp:41:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
41 | while(q == y || q == z && y <= 9 && z >= 1){
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~