Borderou de evaluare (job #803501)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Aritmetica (clasa a 6-a) | Compilator | cpp-32 |
Rundă | lasm_09_01_2025_clasa10 | Status | evaluat |
Dată | 9 ian. 2025 18:11:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int count_zeros(const std::string&)':
main.cpp:9:12: error: 'count' was not declared in this scope
9 | return count(number.begin(), number.end(), '0');
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:41:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
41 | auto [operation_count, final_digit] = reduce_to_single_digit(n);
| ^