Borderou de evaluare (job #687158)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 ian. 2023 12:44:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:17: error: lvalue required as left operand of assignment
23 | if(s==x/100 && z=x/10%10)
| ~~~~~~~~~^~~~
main.cpp:23:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if(s==x/100 && z=x/10%10)
| ^~
main.cpp:25:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
25 | fout<<con<<"\n";
| ^~~~
main.cpp:9:18: warning: unused variable 'u' [-Wunused-variable]
9 | int nr,n,s,z,u,x,con=0,con1=0;
| ^