Borderou de evaluare (job #662856)

Utilizator avatar BunaLaInfo ...... BunaLaInfo IP ascuns
Problemă Treasure Hunt Compilator c-32
Rundă Tema 1 clasa a 7-a Status evaluat
Dată 19 sept. 2022 20:06:43 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:41:50: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 41 | for(i = 0; (i < n) && (i + n1) && !match < n; i++) | ^ main.c:41:43: note: add parentheses around left hand side expression to silence this warning 41 | for(i = 0; (i < n) && (i + n1) && !match < n; i++) | ^~~~~~ | ( ) main.c:43:52: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 43 | for(j = 0; (j < m) && (j+m1) && !match < m; j++) | ^ main.c:43:45: note: add parentheses around left hand side expression to silence this warning 43 | for(j = 0; (j < m) && (j+m1) && !match < m; j++) | ^~~~~~ | ( ) main.c:11:36: warning: unused variable 'd' [-Wunused-variable] 11 | int n, m, c, n1=1, m1=1, k,i,j,d; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf (fis1, "%d%d%d", &c,&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf (fis1, "%d%d", &n1,&m1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf (fis1, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:27:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf (fis1, "%d", &mat[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:37:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf (fis1, "%d", &mat1[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 118 kb OK 10
4 1 ms 118 kb Incorect 0
5 516 ms 3264 kb OK 10
6 424 ms 3788 kb OK 10
7 1 ms 114 kb OK 10
8 1045 ms 3563 kb OK 10
9 235 ms 921 kb OK 10
10 862 ms 3928 kb OK 10
Punctaj total 90