Pagini recente » Borderou de evaluare (job #367616) | Borderou de evaluare (job #2037287) | Borderou de evaluare (job #495726) | Borderou de evaluare (job #1799666) | Borderou de evaluare (job #1217571)
Borderou de evaluare (job #1217571)
Raport evaluator
Compilare:
user.c: In function ‘citeste’:
user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d",&a[i][j]);
^
user.c: In function ‘sum’:
user.c:55:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",s);
^
user.c: In function ‘main’:
user.c:66:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d%d",&n,&m);
^
user.c:66:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:69:1: warning: passing argument 1 of ‘citeste’ from incompatible pointer type [enabled by default]
citeste(a,m,n);
^
user.c:5:6: note: expected ‘long int (*)[16]’ but argument is of type ‘long int (*)[10]’
void citeste(long a[16][16],int m,int n)
^
user.c:72:1: warning: passing argument 1 of ‘coloana’ from incompatible pointer type [enabled by default]
coloana(a,m,n);
^
user.c:26:5: note: expected ‘long int (*)[16]’ but argument is of type ‘long int (*)[10]’
int coloana(long a[16][16],int m,int n)
^
user.c:74:1: warning: passing argument 1 of ‘linie’ from incompatible pointer type [enabled by default]
linie(a,m,n);
^
user.c:13:5: note: expected ‘long int (*)[16]’ but argument is of type ‘long int (*)[10]’
int linie(long a[16][16],int m,int n)
^
user.c:77:1: warning: passing argument 1 of ‘sum’ from incompatible pointer type [enabled by default]
sum(a,m,n);
^
user.c:48:5: note: expected ‘long int (*)[16]’ but argument is of type ‘long int (*)[10]’
int sum(long a[16][16],int m,int n)
^
user.c:59:19: warning: unused variable ‘j’ [-Wunused-variable]
{long a[10][10],i,j,n,m;
^
user.c:59:17: warning: unused variable ‘i’ [-Wunused-variable]
{long a[10][10],i,j,n,m;
^
user.c: In function ‘citeste’:
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i][j]);
^
user.c: In function ‘linie’:
user.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Ok! | 10 |
2 | 0ms | 256kb | Raspuns gresit | 0 |
3 | 0ms | 256kb | Ok! | 10 |
4 | 0ms | 256kb | Ok! | 10 |
5 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |