Borderou de evaluare (job #738432)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Capsuni | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 oct. 2023 11:12:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:11: error: size of array 'v' exceeds maximum object size '2147483647'
6 | int n,m,k,v[500000][500000],a[1000000],b[1000000],x,y,i,j,ok=1,j2,i3,i2,m2,j3,s=0;
| ^
main.cpp: In function 'int main()':
main.cpp:22:21: error: 'v' was not declared in this scope
22 | v[i][j]=-1;
| ^
main.cpp:24:22: error: 'v' was not declared in this scope
24 | else v[i][j]=0;
| ^
main.cpp:34:16: error: 'v' was not declared in this scope
34 | if(v[i][j]==-1)
| ^
main.cpp:44:17: error: 'v' was not declared in this scope
44 | v[i][j]=-2;
| ^
main.cpp:56:16: error: 'v' was not declared in this scope
56 | if(v[i][j]==-2)
| ^
main.cpp:60:16: error: 'v' was not declared in this scope
60 | if(v[i][j]==-1)
| ^