Borderou de evaluare (job #789628)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Trei cifre consecutive | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 13 oct. 2024 00:08:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool elementVer(int)':
main.cpp:23:29: error: 'pow' was not declared in this scope
23 | powHolder = pow(10, i - 1);
| ^~~
main.cpp: In function 'void positionGen(int)':
main.cpp:46:23: error: 'pow' was not declared in this scope
46 | int element = pow(10, n - 1);
| ^~~
main.cpp: In function 'bool elementVer(int)':
main.cpp:40:1: warning: control reaches end of non-void function [-Wreturn-type]
40 | }
| ^