Borderou de evaluare (job #616404)

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ă 15 nov. 2021 21:13:27 Scor 0

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 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | scanf("%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 Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
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 Incorect 0
10 1 ms 131 kb Incorect 0
Penalizare: 3% (pentru 1 submisie/ii) 3%
Punctaj total 0