Borderou de evaluare (job #825197)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre8 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 mai 2025 16:19:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:46: error: 'pow' was not declared in this scope
23 | if(cnt2 > cnt5){cout<<cnt5<<" "; s =s * (pow(5, cnt2 - cnt5)) % 10;}
| ^~~
main.cpp:24:36: error: 'pow' was not declared in this scope
24 | else {cout<<cnt2<<" "; s =s * (pow(2, cnt5 - cnt2)) % 10;}
| ^~~