Borderou de evaluare (job #796988)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadăr (clasa 6-7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2024 13:46:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:110:20: error: 'calculate_sum_of_divis' was not declared in this scope; did you mean 'calculate_sum_of_divisors'?
110 | ull suma = calculate_sum_of_divis
| ^~~~~~~~~~~~~~~~~~~~~~
| calculate_sum_of_divisors
main.cpp:110:42: error: expected '}' at end of input
110 | ull suma = calculate_sum_of_divis
| ^
main.cpp:105:33: note: to match this '{'
105 | for (int i = 0; i < n; ++i) {
| ^
main.cpp:110:13: warning: unused variable 'suma' [-Wunused-variable]
110 | ull suma = calculate_sum_of_divis
| ^~~~
main.cpp:110:42: error: expected '}' at end of input
110 | ull suma = calculate_sum_of_divis
| ^
main.cpp:89:12: note: to match this '{'
89 | int main() {
| ^