Borderou de evaluare (job #759540)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Extratereștri (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 ian. 2024 20:59:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:5: error: size of array 'a' exceeds maximum object size '2147483647'
3 | int a[2000000000], b[2000000000];
| ^
main.cpp:3:20: error: size of array 'b' exceeds maximum object size '2147483647'
3 | int a[2000000000], b[2000000000];
| ^
main.cpp: In function 'int main()':
main.cpp:11:9: error: 'b' was not declared in this scope
11 | b[x1-1]+=nr;
| ^
main.cpp:14:5: error: 'a' was not declared in this scope
14 | a[0]=b[0];
| ^
main.cpp:14:10: error: 'b' was not declared in this scope
14 | a[0]=b[0];
| ^