Pagini recente » Borderou de evaluare (job #29002) | Borderou de evaluare (job #1815587) | Borderou de evaluare (job #764255) | Borderou de evaluare (job #3149166) | Borderou de evaluare (job #2632959)
Borderou de evaluare (job #2632959)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra()':
main.cpp:60:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:161:17: warning: variable 'k' set but not used [-Wunused-but-set-variable]
int i , j , k , poz , u , v;
^
main.cpp:159:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.in" , "r" , stdin);
^
main.cpp:160:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost.out" , "w" , stdout);
^
main.cpp:163:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:166:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf" , &x , &y);
^
main.cpp: In function 'int bs()':
main.cpp:155:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Corect! | 5 |
| 2 | 3ms | 262kb | Corect! | 5 |
| 3 | 5ms | 655kb | Corect! | 5 |
| 4 | 11ms | 1179kb | Corect! | 5 |
| 5 | 16ms | 1572kb | Corect! | 5 |
| 6 | 25ms | 2093kb | Corect! | 5 |
| 7 | 37ms | 2486kb | Corect! | 5 |
| 8 | 58ms | 3268kb | Corect! | 5 |
| 9 | 87ms | 3792kb | Corect! | 5 |
| 10 | 97ms | 4575kb | Corect! | 5 |
| 11 | 193ms | 5885kb | Corect! | 5 |
| 12 | 163ms | 5885kb | Corect! | 5 |
| 13 | 231ms | 6930kb | Corect! | 5 |
| 14 | 320ms | 7585kb | Corect! | 5 |
| 15 | 426ms | 8511kb | Corect! | 5 |
| 16 | 412ms | 9027kb | Corect! | 5 |
| 17 | 522ms | 10072kb | Corect! | 5 |
| 18 | 476ms | 10596kb | Corect! | 5 |
| 19 | 537ms | 10596kb | Corect! | 5 |
| 20 | 453ms | 10596kb | Corect! | 5 |
| Punctaj total | 100 |