Borderou de evaluare (job #702986)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 9div | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mar. 2023 18:49:57 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:5: error: size '4000000000' of array 'a' exceeds maximum object size '2147483647'
4 | int a[1000000000];
| ^
main.cpp: In function 'void ciur(int)':
main.cpp:10:9: error: 'a' was not declared in this scope
10 | a[j]++;
| ^
main.cpp: In function 'int main()':
main.cpp:22:8: error: 'a' was not declared in this scope
22 | if(a[i]==9)
| ^