Pagini recente » Borderou de evaluare (job #3039803) | Borderou de evaluare (job #2690154) | Borderou de evaluare (job #2309160) | Borderou de evaluare (job #68271) | Borderou de evaluare (job #2595550)
Borderou de evaluare (job #2595550)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs()':
main.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void max_flow()':
main.cpp:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[t].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void bfs2(int, int, int*)':
main.cpp:96:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:112:29: warning: unused variable 'nr' [-Wunused-variable]
int m , x , y , z , i , nr;
^~
main.cpp:110:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in" , "r" , stdin);
^
main.cpp:111:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out" , "w" , stdout);
^
main.cpp:113:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
main.cpp:116:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &x , &y , &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 393kb | Too bad! | 0 |
2 | 3ms | 393kb | Too bad! | 0 |
3 | 3ms | 393kb | Okay! | 10 |
4 | 3ms | 393kb | Too bad! | 0 |
5 | 4ms | 393kb | Too bad! | 0 |
6 | 252ms | 393kb | Time limit exceeded | 0 |
7 | 251ms | 524kb | Time limit exceeded | 0 |
8 | 28ms | 524kb | Too bad! | 0 |
9 | 48ms | 524kb | Too bad! | 0 |
10 | 14ms | 524kb | Okay! | 10 |
Punctaj total | 20 |