Borderou de evaluare (job #731795)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Test (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 sept. 2023 13:18:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:27:16: error: 'log10' was not declared in this scope
27 | int nrcifb=log10(b)+1;
| ^~~~~
main.cpp:33:17: error: 'pow' was not declared in this scope
33 | int put=pow(10,(nrcifb-1));
| ^~~
main.cpp:41:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
41 | if(maxx=-1) fout<<max2;
| ~~~~^~~