Borderou de evaluare (job #632479)

Utilizator avatar danielbirsann Birsan Daniel danielbirsann IP ascuns
Problemă Porumbei (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 feb. 2022 11:21:24 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:36: error: size of array 'a' exceeds maximum object size '2147483647' 6 | unsigned long long n , m , x , y , a[999999][999999] , X[999999] , P[99999999] , p , q,h,j,ok=0; | ^ main.cpp: In function 'void back(int)': main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 17 | for(int i = 1 ; i <= n ; i++) | ~~^~~~ main.cpp:22:25: error: 'a' was not declared in this scope 22 | if(k == 1|| a[X[k - 1]][X[k]] == 1) | ^ main.cpp: In function 'int main()': main.cpp:35:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 35 | for(int i = 1 ; i <= m ; i++) | ~~^~~~ main.cpp:38:9: error: 'a' was not declared in this scope 38 | a[x][y] = 1; | ^