Pagini recente » Borderou de evaluare (job #930347) | Borderou de evaluare (job #2752829) | Borderou de evaluare (job #680992) | Borderou de evaluare (job #1167577) | Borderou de evaluare (job #2632945)
Borderou de evaluare (job #2632945)
Raport evaluator
Compilare:
main.cpp: In function 'void bellmanford()':
main.cpp:59:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int dijkstra()':
main.cpp:90: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:191: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:192: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:195:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:198: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:187: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 | 393kb | Corect! | 5 |
| 3 | 5ms | 655kb | Corect! | 5 |
| 4 | 10ms | 1179kb | Corect! | 5 |
| 5 | 16ms | 1441kb | Corect! | 5 |
| 6 | 24ms | 1966kb | Corect! | 5 |
| 7 | 36ms | 2359kb | Corect! | 5 |
| 8 | 56ms | 3014kb | Corect! | 5 |
| 9 | 82ms | 3538kb | Corect! | 5 |
| 10 | 94ms | 4194kb | Corect! | 5 |
| 11 | 153ms | 5505kb | Corect! | 5 |
| 12 | 166ms | 5505kb | Corect! | 5 |
| 13 | 222ms | 6291kb | Corect! | 5 |
| 14 | 650ms | 7995kb | Time limit exceeded | 0 |
| 15 | 652ms | 8781kb | Time limit exceeded | 0 |
| 16 | 652ms | 9175kb | Time limit exceeded | 0 |
| 17 | 652ms | 9977kb | Time limit exceeded | 0 |
| 18 | 651ms | 10354kb | Time limit exceeded | 0 |
| 19 | 651ms | 10354kb | Time limit exceeded | 0 |
| 20 | 650ms | 10354kb | Time limit exceeded | 0 |
| Punctaj total | 65 |