Borderou de evaluare (job #731216)

Utilizator avatar avram.popa Avram-Popa avram.popa IP ascuns
Problemă Matrixdel (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 6 sept. 2023 10:10:53 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:38: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 12 | fscanf(fin,"%d",&mat[l][c]); | ~^ ~~~~~~~~~~ | | | | | char * | int * | %hhd main.c:9:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d %d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&mat[l][c]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&nrl); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d",&ldel); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin,"%d",&nrc); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin,"%d",&cdel); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 249 kb OK 10
10 1 ms 249 kb OK 10
Punctaj total 100