Borderou de evaluare (job #584670)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Plusminus (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 mar. 2021 14:50:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
13 | while(in>>n>>n2);
| ^~~~~
main.cpp:14:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
14 | {
| ^
main.cpp:17:11: error: 'c' was not declared in this scope
17 | if(c=='-')
| ^
main.cpp:18:13: error: 's_n2' was not declared in this scope; did you mean 'n2'?
18 | s=s_n2;
| ^~~~
| n2