Borderou de evaluare (job #616767)

Utilizator avatar Daniel_paun Daniel Marcus Paun Daniel_paun IP ascuns
Problemă Matrix (clasa a 6-a) Compilator c-32
Rundă Tema 7 clasa a 6-a Status evaluat
Dată 17 nov. 2021 22:07:54 Scor 56

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for ( col = 0; col < m; col++ ) | ^~~ main.c:17:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17 | fscanf(fin,"%s",&c); | ^~~~~~ main.c:17:18: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[200]' [-Wformat=] 17 | fscanf(fin,"%s",&c); | ~^ ~~ | | | | | char (*)[200] | char * main.c:12:30: warning: variable 'b' set but not used [-Wunused-but-set-variable] 12 | int n,m,lin,col,i,h,aj=0,b; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d%d", &n, &m ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d", &mat[lin][col] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%s",&c); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb OK 10
10 14 ms 258 kb OK 10
Penalizare: 6% (pentru 2 submisie/ii) 6%
Punctaj total 56