Borderou de evaluare (job #794094)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrice Zebră (clasa a 6-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 nov. 2024 18:31:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:14:19: error: size of array 'mat' exceeds maximum object size '2147483647'
14 | long long mat[1000000001][1000000001];
| ^~~
main.c:14:19: 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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~