Pagini recente » Borderou de evaluare (job #664485) | Borderou de evaluare (job #658915) | Borderou de evaluare (job #3199102) | Borderou de evaluare (job #295316) | Borderou de evaluare (job #2634005)
Borderou de evaluare (job #2634005)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(double*, int)':
main.cpp:41:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int bfs()':
main.cpp:63:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int maxflow()':
main.cpp:82:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[n].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:150:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.in" , "r" , stdin);
^
main.cpp:151:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.out" , "w" , stdout);
^
main.cpp:154:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &n , &m , &g);
^
main.cpp:157:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lf" , &x , &y , &z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 18ms | 524kb | OK | 5 |
| 2 | 152ms | 262kb | Time limit exceeded | 0 |
| 3 | 153ms | 393kb | Time limit exceeded | 0 |
| 4 | 152ms | 393kb | Time limit exceeded | 0 |
| 5 | 2ms | 262kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 4ms | 262kb | OK | 5 |
| 8 | 24ms | 524kb | OK | 5 |
| 9 | 151ms | 524kb | Time limit exceeded | 0 |
| 10 | 9ms | 393kb | OK | 5 |
| 11 | 15ms | 393kb | OK | 5 |
| 12 | 18ms | 393kb | OK | 5 |
| 13 | 3ms | 262kb | OK | 5 |
| 14 | 28ms | 524kb | OK | 5 |
| 15 | 20ms | 524kb | OK | 5 |
| 16 | 3ms | 393kb | OK | 5 |
| 17 | 3ms | 524kb | OK | 5 |
| 18 | 5ms | 524kb | OK | 5 |
| 19 | 152ms | 393kb | Time limit exceeded | 0 |
| 20 | 153ms | 393kb | Time limit exceeded | 0 |
| Punctaj total | 70 |