Pagini recente » Borderou de evaluare (job #3002288) | Borderou de evaluare (job #548746) | Borderou de evaluare (job #682620) | Borderou de evaluare (job #2650369) | Borderou de evaluare (job #2680759)
Borderou de evaluare (job #2680759)
Raport evaluator
Compilare:
main.cpp: In function 'void bellmanford(int)':
main.cpp:23: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(int, int)':
main.cpp:64: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:113:25: warning: unused variable 'j' [-Wunused-variable]
int m , s , t , i , j , x , y , c , z;
^
main.cpp:111:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.in" , "r" , stdin);
^
main.cpp:112:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.out" , "w" , stdout);
^
main.cpp:114:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d" , &n , &m , &s , &t);
^
main.cpp:117: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 |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 262kb | OK | 10 | 10 |
4 | 3ms | 262kb | OK | 10 | 10 |
5 | 3ms | 262kb | OK | 10 | 10 |
6 | 212ms | 786kb | OK | 10 | 20 |
7 | 218ms | 786kb | OK | 10 |
8 | 483ms | 1310kb | OK | 10 | 30 |
9 | 334ms | 1310kb | OK | 10 |
10 | 446ms | 1310kb | OK | 10 |
Punctaj total | 100 |