Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1271007) | Cod sursa (job #1808994) | Borderou de evaluare (job #2201499) | Borderou de evaluare (job #2632973)
Borderou de evaluare (job #2632973)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra1(short int)':
main.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[dest].size() ; i ++)
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'short int dijkstra2()':
main.cpp:75: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:139:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1 ; i <= G[dest].size() ; i ++)
~~^~~~~~~~~~~~~~~~~
main.cpp:113: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:114: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:117:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%d%hd%hd" , &n , &m , &k , &dest);
^
main.cpp:119:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd" , &v[i]);
^
main.cpp:122:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd" , &x , &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 393kb | OK | 5 |
| 2 | 3ms | 393kb | OK | 5 |
| 3 | 3ms | 393kb | OK | 5 |
| 4 | 4ms | 393kb | OK | 5 |
| 5 | 4ms | 393kb | OK | 5 |
| 6 | 5ms | 393kb | OK | 5 |
| 7 | 5ms | 393kb | OK | 5 |
| 8 | 7ms | 393kb | OK | 5 |
| 9 | 8ms | 393kb | OK | 5 |
| 10 | 13ms | 524kb | OK | 5 |
| 11 | 67ms | 1048kb | OK | 5 |
| 12 | 100ms | 1310kb | OK | 5 |
| 13 | 4ms | 393kb | OK | 5 |
| 14 | 10ms | 393kb | OK | 5 |
| 15 | 30ms | 655kb | OK | 5 |
| 16 | 49ms | 655kb | OK | 5 |
| 17 | 110ms | 917kb | OK | 5 |
| 18 | 133ms | 917kb | OK | 5 |
| 19 | 176ms | 1179kb | OK | 5 |
| 20 | 318ms | 1413kb | OK | 5 |
| Punctaj total | 100 |