Borderou de evaluare (job #781232)

Utilizator avatar matei_matei Diaconu Matei matei_matei IP ascuns
Problemă Iepurași (clasa a 8-a) Compilator c-32
Rundă 2024-07-02-tabara-nerdvana-2023 Status evaluat
Dată 2 iul. 2024 12:17:49 Scor 28

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:27: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 17 | fscanf(fin, "%d", &pct[lin][col]); | ~^ ~~~~~~~~~~~~~~ | | | | | char * | int * | %hhd main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d%d%d", &n, &m, &d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &pct[lin][col]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &t); | ^~~~~~~~~~~~~~~~~~~~~ main.c:58:29: warning: 'sr' may be used uninitialized [-Wmaybe-uninitialized] 58 | fprintf(fout, "%d", s+sr*r); | ~~^~ main.c:11:49: note: 'sr' was declared here 11 | int n, m, d, i, lin, col, maxx, s, t, u, r, sr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb OK 10
2 149 ms 249 kb OK 10
3 409 ms 249 kb Time limit exceeded 0
4 409 ms 270 kb Time limit exceeded 0
5 409 ms 512 kb Time limit exceeded 0
6 409 ms 270 kb Time limit exceeded 0
7 409 ms 270 kb Time limit exceeded 0
8 400 ms 425 kb Time limit exceeded 0
9 409 ms 507 kb Time limit exceeded 0
10 1 ms 507 kb OK 10
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 28