Pagini recente » Borderou de evaluare (job #930358) | Borderou de evaluare (job #722232) | Borderou de evaluare (job #2248239) | blog/programare-concurenta | Borderou de evaluare (job #2632947)
Borderou de evaluare (job #2632947)
Raport evaluator
Compilare:
main.cpp: In function 'void bellmanford()':
main.cpp:45: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:76: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:177: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:178: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:181:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:184: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:173: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 | 11ms | 1179kb | Corect! | 5 |
| 5 | 16ms | 1441kb | Corect! | 5 |
| 6 | 25ms | 1966kb | Corect! | 5 |
| 7 | 38ms | 2359kb | Corect! | 5 |
| 8 | 59ms | 3014kb | Corect! | 5 |
| 9 | 87ms | 3538kb | Corect! | 5 |
| 10 | 100ms | 4194kb | Corect! | 5 |
| 11 | 175ms | 5505kb | Corect! | 5 |
| 12 | 187ms | 5505kb | Corect! | 5 |
| 13 | 233ms | 6291kb | Corect! | 5 |
| 14 | 652ms | 7995kb | Time limit exceeded | 0 |
| 15 | 652ms | 8781kb | Time limit exceeded | 0 |
| 16 | 652ms | 9175kb | Time limit exceeded | 0 |
| 17 | 650ms | 9961kb | Time limit exceeded | 0 |
| 18 | 652ms | 10485kb | Time limit exceeded | 0 |
| 19 | 652ms | 10354kb | Time limit exceeded | 0 |
| 20 | 650ms | 10354kb | Time limit exceeded | 0 |
| Punctaj total | 65 |