Pagini recente » Cod sursa (job #860800) | Borderou de evaluare (job #1230527) | Borderou de evaluare (job #2488457) | Borderou de evaluare (job #1390462) | Borderou de evaluare (job #2611938)
Borderou de evaluare (job #2611938)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:132:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.in", "r", stdin);
^
main.cpp:133:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("delfin.out", "w", stdout);
^
main.cpp:137:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
main.cpp:142:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch); //citesc datele de intrare, completez harta si marchez pozitiile cheie
^
main.cpp:175:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:178:26: warning: 'dy' may be used uninitialized in this function [-Wmaybe-uninitialized]
lee_numai_pe_apa(dx, dy); //vad unde (si cat de repede) poate ajunge Percy
^
main.cpp:178:26: warning: 'dx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:180:10: warning: 'fy' may be used uninitialized in this function [-Wmaybe-uninitialized]
distmin = dist_pe_pamant[fx][fy]; //in caz ca pot ajunge fara Percy (altfel imi da 1000000 care sigur e mai mic ca solutia (am tot timpul solutie)
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:180:10: warning: 'fx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:177:28: warning: 'sy' may be used uninitialized in this function [-Wmaybe-uninitialized]
lee_numai_pe_uscat(sx, sy); //vad unde (si cat de repede) pot ajunge fara Percy
^
main.cpp:177:28: warning: 'sx' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 21 | 2ms | 131kb | OK! | 0 | 0 |
| 22 | 2ms | 262kb | OK! | 0 | 0 |
| 23 | 3ms | 262kb | OK! | 0 | 0 |
| 1 | 2ms | 131kb | OK! | 5 | 5 |
| 2 | 2ms | 131kb | OK! | 5 | 5 |
| 3 | 3ms | 131kb | OK! | 5 | 5 |
| 4 | 3ms | 262kb | OK! | 5 | 5 |
| 5 | 3ms | 524kb | OK! | 5 | 5 |
| 6 | 3ms | 524kb | OK! | 5 | 5 |
| 7 | 4ms | 655kb | OK! | 5 | 5 |
| 8 | 4ms | 655kb | OK! | 5 | 5 |
| 9 | 4ms | 786kb | OK! | 5 | 5 |
| 10 | 4ms | 786kb | OK! | 5 | 5 |
| 11 | 34ms | 4325kb | OK! | 5 | 5 |
| 12 | 35ms | 4325kb | OK! | 5 | 5 |
| 13 | 96ms | 7208kb | OK! | 5 | 5 |
| 14 | 174ms | 10747kb | OK! | 5 | 5 |
| 15 | 229ms | 12058kb | OK! | 5 | 5 |
| 16 | 281ms | 14155kb | OK! | 5 | 25 |
| 17 | 257ms | 14155kb | OK! | 5 |
| 18 | 231ms | 14155kb | OK! | 5 |
| 19 | 273ms | 14024kb | OK! | 5 |
| 20 | 4ms | 786kb | OK! | 5 |
| Punctaj total | 100 |