Borderou de evaluare (job #787718)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Oz (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 sept. 2024 21:15:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int commDiv(int, int)':
main.cpp:25:26: error: 'sqrt' was not declared in this scope
25 | for (int i = 1; i <= sqrt(n); i++) {
| ^~~~
main.cpp: In function 'int main()':
main.cpp:46:9: warning: unused variable 'x' [-Wunused-variable]
46 | int x;
| ^
main.cpp:47:9: warning: unused variable 'y' [-Wunused-variable]
47 | int y;
| ^