Borderou de evaluare (job #829961)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Maxd | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 11 iul. 2025 12:57:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void ciur()':
main.cpp:18:34: error: 'n' was not declared in this scope
18 | for (j = d * d; j <= n; j+= d)
| ^
main.cpp: In function 'int main()':
main.cpp:27:18: warning: unused variable 'j' [-Wunused-variable]
27 | int a, b, i, j, nr_div = 0, min = 2000000001, nr = 0, max_nr_div = -1, p, e, n;
| ^