Pagini recente » Cod sursa (job #36362) | Cod sursa (job #2974643) | Rezultatele filtrării | Transport Rutier | Borderou de evaluare (job #2632372)
Borderou de evaluare (job #2632372)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra()':
main.cpp:38: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:83:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("renovare.in" , "r" , stdin);
^
main.cpp:84:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("renovare.out" , "w" , stdout);
^
main.cpp:86:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &n , &m , &l);
^
main.cpp:89:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d" , &x , &y , &c , &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 22ms | 655kb | OK | 10 |
4 | 116ms | 786kb | OK | 10 |
5 | 94ms | 917kb | OK | 10 |
6 | 91ms | 1179kb | OK | 10 |
7 | 29ms | 1179kb | OK | 10 |
8 | 82ms | 1310kb | OK | 10 |
9 | 212ms | 1572kb | OK | 10 |
10 | 38ms | 1441kb | OK | 10 |
Punctaj total | 100 |