Borderou de evaluare (job #702966)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 9div | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mar. 2023 18:25:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:5: error: size '4000000000' of array 'a' exceeds maximum object size '2147483647'
5 | int a[1000000000], 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++;
| ^