Borderou de evaluare (job #749018)

Utilizator avatar mara_p Mara Petrescu mara_p IP ascuns
Problemă Matrix (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 dec. 2023 13:09:19 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:33:32: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 33 | printf(out,"\n"); | ^~~ | | | FILE * In file included from /usr/include/stdio.h:906, from main.c:1: /usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 84 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:51:32: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 51 | printf(out,"\n"); | ^~~ | | | FILE * /usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 84 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:70:32: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 70 | printf(out,"\n"); | ^~~ | | | FILE * /usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 84 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:90:32: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] 90 | printf(out,"\n"); | ^~~ | | | FILE * /usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'FILE *' 84 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:6:21: warning: unused variable 't' [-Wunused-variable] 6 | int i,j,m,n,c,S,t; | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(in,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:12:37: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | for(i=0;i<m;i++)for(j=0;j<n;j++)fscanf(in,"%d",&V[j][i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 10
2 4 ms 245 kb OK 10
3 8 ms 245 kb OK 10
4 6 ms 241 kb OK 10
5 7 ms 245 kb OK 10
6 7 ms 245 kb OK 10
7 546 ms 245 kb OK 10
8 1001 ms 249 kb Time limit exceeded 0
9 1019 ms 249 kb Time limit exceeded 0
10 1011 ms 249 kb Time limit exceeded 0
Punctaj total 70