Borderou de evaluare (job #859565)

Utilizator avatar nicolita_alexandru Nicolita Alexandru nicolita_alexandru IP ascuns
Problemă Tuburi (clasa a 7-a) Compilator c
Rundă Tema 29 Clasa a 7-a Status evaluat
Dată 26 apr. 2026 20:15:57 Scor 76

Raport evaluator

Compilare: main.c: In function 'main': main.c:139:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 139 | fscanf(fin,"%d",&mat[i][j]); | ~^ ~~~~~~~~~~ | | | | | short int * | int * | %hd main.c:135:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fscanf(fin,"%d%d%d",&cer,&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:139:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fscanf(fin,"%d",&mat[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:153:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:183:9: /usr/include/bits/stdio2.h:111:10: warning: 'col' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:130:22: note: 'col' was declared here 130 | int i,j,mx,cer,k,col,tip,p,val,aux; | ^~~ In function 'fprintf', inlined from 'main' at main.c:183:9: /usr/include/bits/stdio2.h:111:10: warning: 'tip' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:130:26: note: 'tip' was declared here 130 | int i,j,mx,cer,k,col,tip,p,val,aux; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 248 kb OK 4
2 1 ms 248 kb OK 6
3 1 ms 252 kb OK 4
4 1 ms 252 kb OK 6
5 1 ms 508 kb OK 4
6 3 ms 252 kb OK 6
7 2 ms 252 kb OK 4
8 33 ms 252 kb OK 6
9 3 ms 492 kb OK 4
10 4 ms 492 kb OK 6
11 14 ms 492 kb OK 4
12 depășit 496 kb Time limit exceeded. 0
13 5 ms 748 kb OK 4
14 depășit 744 kb Time limit exceeded. 0
15 9 ms 492 kb OK 4
16 16 ms 492 kb OK 6
17 3 ms 252 kb OK 4
18 depășit 256 kb Time limit exceeded. 0
19 24 ms 748 kb OK 4
20 depășit 748 kb Time limit exceeded. 0
Punctaj total 76