Borderou de evaluare (job #594549)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 apr. 2021 11:50:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
30 | if((n % 10) == (m % 10))
| ^~
main.cpp:32:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | n = n / 10;
| ^
main.cpp:35:5: error: 'cn' was not declared in this scope; did you mean 'cnt'?
35 | cn = n;
| ^~
| cnt
main.cpp:36:5: error: 'cm' was not declared in this scope; did you mean 'm'?
36 | cm = m;
| ^~
| m