Borderou de evaluare (job #682482)

Utilizator avatar StefanDutu Dutu Stefan StefanDutu IP ascuns
Problemă Cifra2 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 dec. 2022 13:54:38 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:18:5: error: 'cif' was not declared in this scope 18 | cif=n%10; | ^~~ main.cpp:20:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 20 | if(min=cifmin) | ~~~^~~~~~~ main.cpp:21:9: error: 'rez' was not declared in this scope 21 | rez=(rez*10)+cif; | ^~~ main.cpp:23:11: error: 'rez' was not declared in this scope 23 | fout<<rez<<"\n"; | ^~~ main.cpp:8:15: warning: unused variable 'con' [-Wunused-variable] 8 | int n,min,con=6345,cifmin; | ^~~