Pagini recente » Borderou de evaluare (job #213577) | Borderou de evaluare (job #3203258) | Borderou de evaluare (job #2556751) | Borderou de evaluare (job #446500) | Borderou de evaluare (job #1340985)
Borderou de evaluare (job #1340985)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75: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:75:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:76:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d%d%d%d",&xp1,&yp1,&xp2,&yp2);
^
user.cpp:76:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:79: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:74:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,y,xp2,yp2,i,j;
^
user.cpp:74:11: warning: unused variable ‘y’ [-Wunused-variable]
int x,y,xp2,yp2,i,j;
^
user.cpp:75: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:76: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:79: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 | 12ms | 8440kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 4ms | 4232kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 4ms | 4228kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 4ms | 4232kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 4ms | 4228kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 4ms | 4232kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 4228kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 4ms | 4232kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 4228kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 4ms | 4232kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |