Pagini recente » Borderou de evaluare (job #2887756) | Borderou de evaluare (job #2542165) | Borderou de evaluare (job #1332509) | Borderou de evaluare (job #1287832) | Borderou de evaluare (job #2631182)
Borderou de evaluare (job #2631182)
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 fmcm(int, int)':
main.cpp:104:9: warning: variable 'flow' set but not used [-Wunused-but-set-variable]
int flow , cost;
^~~~
main.cpp: In function 'int main()':
main.cpp:114:25: warning: unused variable 'j' [-Wunused-variable]
int m , s , t , i , j , x , y , c , z;
^
main.cpp:112: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:113: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:115: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:118: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 | 232ms | 786kb | OK | 10 | 20 |
7 | 238ms | 786kb | OK | 10 |
8 | 478ms | 1310kb | OK | 10 | 30 |
9 | 362ms | 1310kb | OK | 10 |
10 | 442ms | 1310kb | OK | 10 |
Punctaj total | 100 |