Pagini recente » Cod sursa (job #2123246) | Borderou de evaluare (job #1774204) | Borderou de evaluare (job #157937) | Borderou de evaluare (job #2096857) | Borderou de evaluare (job #1240090)
Borderou de evaluare (job #1240090)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poarta.in","r",stdin);
^
user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poarta.out","w",stdout);
^
user.cpp:31:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&m,&k);
^
user.cpp:32:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld",&start.x,&start.y,&stop.x,&stop.y);
^
user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&p[i].x,&p[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 548kb | Incorrect distance | 0 |
| 2 | 0ms | 544kb | Okay | 10 |
| 3 | 0ms | 548kb | Okay | 10 |
| 4 | 0ms | 528kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 548kb | Incorrect distance | 0 |
| 6 | 0ms | 556kb | Incorrect distance | 0 |
| 7 | 0ms | 552kb | Incorrect number of paths | 3 |
| 8 | 0ms | 552kb | Okay | 10 |
| 9 | 0ms | 552kb | Okay | 10 |
| 10 | 0ms | 552kb | Incorrect number of paths | 3 |
| Punctaj total | 46 |