Borderou de evaluare (job #813336)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Patrate3 (clasa a 7-a) | Compilator | cpp-32 |
Rundă | pre OJI cl a 7-a | Status | evaluat |
Dată | 9 mar. 2025 09:40:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:5: error: size '4000000000' of array 'a' exceeds maximum object size '2147483647'
9 | int a[1000000000];
| ^
main.cpp: In function 'int main()':
main.cpp:16:9: error: 'a' was not declared in this scope
16 | a[x]++;
| ^
main.cpp:22:14: error: 'a' was not declared in this scope
22 | sum+=a[i];
| ^
main.cpp:27:12: error: 'a' was not declared in this scope
27 | if(a[i]>=h)
| ^