Borderou de evaluare (job #585231)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cuart (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 mar. 2021 19:22:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:70:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
70 | else if(primul1>primul2)
| ^~
main.cpp:71:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
71 | B=1;C=primul1;
| ^
main.cpp:72:9: error: 'else' without a previous 'if'
72 | else if(primul1<primul2)
| ^~~~