Pagini recente » Borderou de evaluare (job #1864638) | Borderou de evaluare (job #1353058) | Borderou de evaluare (job #2599064) | Borderou de evaluare (job #597488) | Borderou de evaluare (job #2595552)
Borderou de evaluare (job #2595552)
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 'int update_flow()':
main.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void max_flow()':
main.cpp:68: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:91: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:107:29: warning: unused variable 'nr' [-Wunused-variable]
int m , x , y , z , i , nr;
^~
main.cpp:105: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:106: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:108: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:111: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 | 3ms | 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 | 15ms | 524kb | Too bad! | 0 |
7 | 33ms | 524kb | Too bad! | 0 |
8 | 29ms | 524kb | Too bad! | 0 |
9 | 48ms | 524kb | Too bad! | 0 |
10 | 14ms | 524kb | Okay! | 10 |
Punctaj total | 20 |