Pagini recente » Borderou de evaluare (job #2915982) | Borderou de evaluare (job #2821932) | Borderou de evaluare (job #2950746) | Borderou de evaluare (job #1695231) | Borderou de evaluare (job #1340968)
Borderou de evaluare (job #1340968)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d%d",&n,&m);
^
user.cpp:73:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:77:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d",&mat[i][j]);
^
user.cpp:72:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,y,xp1,yp1,xp2,yp2,i,j;
^
user.cpp:72:11: warning: unused variable ‘y’ [-Wunused-variable]
int x,y,xp1,yp1,xp2,yp2,i,j;
^
user.cpp:73:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&n,&m);
^
user.cpp:74:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d%d",&xp1,&yp1,&xp2,&yp2);
^
user.cpp:77:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&mat[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2260kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 4ms | 2260kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 3116kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 3956kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 2200kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 4484kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 4476kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 3100kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 4480kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 4484kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |