Borderou de evaluare (job #817435)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 apr. 2025 18:59:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:11: error: invalid operands of types 'int [9]' and 'int' to binary 'operator/'
18 | v /= 10;
| ~~^~~~~
main.cpp:18:11: note: in evaluation of 'operator/=(int [9], int)'
main.cpp:13:12: warning: unused variable 'i' [-Wunused-variable]
13 | int n, i, nr = 0;
| ^