Pagini recente » Borderou de evaluare (job #1484787) | Borderou de evaluare (job #825261) | Borderou de evaluare (job #3034010) | Borderou de evaluare (job #209277) | Borderou de evaluare (job #1579936)
Borderou de evaluare (job #1579936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d%d%d%d",&lin,&col,&start.l,&start.c);
^
user.cpp:71:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d%d%d%d",&here.l,&here.c,&there.l,&there.c);
^
user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:69:10: warning: unused variable ‘found’ [-Wunused-variable]
bool found;
^
user.cpp:70:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&task);
^
user.cpp:71:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d%d",&lin,&col,&start.l,&start.c);
^
user.cpp:77:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&foxes);
^
user.cpp:80:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d",&x,&y,&r);
^
user.cpp:83:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&holes);
^
user.cpp:91: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",&x,&y,&b,&r);
^
user.cpp:105:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&foxes);
^
user.cpp:106:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=foxes;++i)fscanf(in,"%d%d%d",&x,&x,&x);
^
user.cpp:107:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&holes);
^
user.cpp:110:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d%d",&here.l,&here.c,&there.l,&there.c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 348kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| 11 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |