Pagini recente » Borderou de evaluare (job #2217561) | Borderou de evaluare (job #739523) | Borderou de evaluare (job #2144160) | Borderou de evaluare (job #92517) | Borderou de evaluare (job #2705102)
Borderou de evaluare (job #2705102)
Raport evaluator
Compilare:
main.cpp: In function 'bool bfs()':
main.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<adc[nod].size(); ++i)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'bool dfs(int, int)':
main.cpp:60:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; viz[nod]<adc[nod].size(); ++viz[nod])
~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'long long int flux(int, int)':
main.cpp:86:25: warning: unused variable 'ret' [-Wunused-variable]
while(long long ret=dfs(st,lim))
^~~
main.cpp: In function 'int main()':
main.cpp:93:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in","r",stdin);
^
main.cpp:94:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.out","w",stdout);
^
main.cpp:95:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:99:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 262kb | OK | 10 | 10 |
2 | 3ms | 262kb | OK | 10 | 10 |
3 | 3ms | 262kb | OK | 10 | 10 |
4 | 3ms | 262kb | OK | 10 | 10 |
5 | 3ms | 262kb | OK | 10 | 10 |
6 | 4ms | 262kb | OK | 10 | 10 |
7 | 7ms | 393kb | OK | 10 | 10 |
8 | 32ms | 634kb | OK | 10 | 30 |
9 | 22ms | 634kb | OK | 10 |
10 | 38ms | 765kb | OK | 10 |
Punctaj total | 100 |