Pagini recente » Borderou de evaluare (job #403294) | Drum2 | Borderou de evaluare (job #3225751) | Autentificare | Borderou de evaluare (job #2632972)
Borderou de evaluare (job #2632972)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra1(int)':
main.cpp:39:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp:49:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[dest].size() ; i ++)
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int dijkstra2()':
main.cpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < T[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:137:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1 ; i <= G[dest].size() ; i ++)
~~^~~~~~~~~~~~~~~~~
main.cpp:112:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.in" , "r" , stdin);
^
main.cpp:113:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out" , "w" , stdout);
^
main.cpp:115:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d" , &n , &m , &k , &dest);
^
main.cpp:117:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &v[i]);
^
main.cpp:120:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &x , &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 393kb | OK | 5 |
| 2 | 3ms | 393kb | OK | 5 |
| 3 | 3ms | 393kb | OK | 5 |
| 4 | 4ms | 393kb | OK | 5 |
| 5 | 5ms | 393kb | OK | 5 |
| 6 | 5ms | 393kb | OK | 5 |
| 7 | 5ms | 393kb | OK | 5 |
| 8 | 7ms | 524kb | OK | 5 |
| 9 | 8ms | 524kb | OK | 5 |
| 10 | 14ms | 655kb | OK | 5 |
| 11 | 69ms | 1441kb | OK | 5 |
| 12 | 103ms | 2097kb | OK | 5 |
| 13 | 4ms | 393kb | OK | 5 |
| 14 | 10ms | 524kb | OK | 5 |
| 15 | 30ms | 786kb | OK | 5 |
| 16 | 50ms | 917kb | OK | 5 |
| 17 | 111ms | 1441kb | OK | 5 |
| 18 | 120ms | 1441kb | OK | 5 |
| 19 | 186ms | 1679kb | OK | 5 |
| 20 | 305ms | 2359kb | OK | 5 |
| Punctaj total | 100 |