Pagini recente » Cod sursa (job #1166498) | Borderou de evaluare (job #197038) | Cod sursa (job #1330331) | Borderou de evaluare (job #1272611) | Borderou de evaluare (job #2552752)
Borderou de evaluare (job #2552752)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:131:37: 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:132:39: 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:136:28: 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:141:29: 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:174:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:177:29: 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:177:29: warning: 'dx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:179:13: 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:179:13: warning: 'fx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:176:31: 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:176:31: 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 | 131kb | OK! | 0 | 0 |
| 23 | 2ms | 262kb | OK! | 0 | 0 |
| 1 | 2ms | 131kb | OK! | 5 | 5 |
| 2 | 2ms | 131kb | OK! | 5 | 5 |
| 3 | 2ms | 131kb | OK! | 5 | 5 |
| 4 | 2ms | 262kb | OK! | 5 | 5 |
| 5 | 3ms | 524kb | OK! | 5 | 5 |
| 6 | 3ms | 524kb | OK! | 5 | 5 |
| 7 | 3ms | 655kb | OK! | 5 | 5 |
| 8 | 3ms | 655kb | OK! | 5 | 5 |
| 9 | 4ms | 786kb | OK! | 5 | 5 |
| 10 | 4ms | 794kb | OK! | 5 | 5 |
| 11 | 41ms | 4325kb | OK! | 5 | 5 |
| 12 | 35ms | 4325kb | OK! | 5 | 5 |
| 13 | 97ms | 7208kb | OK! | 5 | 5 |
| 14 | 173ms | 10747kb | OK! | 5 | 5 |
| 15 | 216ms | 12058kb | OK! | 5 | 5 |
| 16 | 255ms | 14286kb | OK! | 5 | 25 |
| 17 | 276ms | 14270kb | OK! | 5 |
| 18 | 249ms | 14270kb | OK! | 5 |
| 19 | 276ms | 14024kb | OK! | 5 |
| 20 | 4ms | 786kb | OK! | 5 |
| Punctaj total | 100 |