Borderou de evaluare (job #794093)

Utilizator avatar oliverthebest oliver oliverthebest IP ascuns
Problemă Matrice Zebră (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2024 18:30:35 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:14:23: error: size '4000000004' of array 'mat' exceeds maximum object size '2147483647' 14 | unsigned int mat[1000000001][1000000001]; | ^~~ main.c:14:23: warning: unused variable 'mat' [-Wunused-variable] main.c:12:30: warning: unused variable 't' [-Wunused-variable] 12 | int nrp, i, j, c, n, t, x, y, cnt, dir, mc; | ^ main.c:12:13: warning: unused variable 'nrp' [-Wunused-variable] 12 | int nrp, i, j, c, n, t, x, y, cnt, dir, mc; | ^~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:20:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%lld%lld", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~