Borderou de evaluare (job #702967)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 9div | Compilator | cpp-32 |
Rundă | vaslui_cls9_08.03 | Status | evaluat |
Dată | 8 mar. 2023 18:26:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:5: error: size of array 'a' exceeds maximum object size '2147483647'
5 | int a[2147483646], cnt, n;
| ^
main.cpp: In function 'void div(int)':
main.cpp:10:13: error: 'a' was not declared in this scope
10 | a[d]++;
| ^
main.cpp: In function 'int main()':
main.cpp:20:12: error: 'a' was not declared in this scope
20 | if(a[i] == 9) cnt++;
| ^