Pagini recente » Borderou de evaluare (job #2986998) | Borderou de evaluare (job #603096) | Borderou de evaluare (job #23493) | Borderou de evaluare (job #2108177) | Borderou de evaluare (job #2528573)
Borderou de evaluare (job #2528573)
Raport evaluator
Compilare:
main.cpp: In function 'int BFS()':
main.cpp:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[q.front()].size();i++)
~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[n].size();i++)
~^~~~~~~~~~~~
main.cpp:37: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:38:38: 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:39: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:43:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&cc);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | OK | 10 | 10 |
2 | 3ms | 393kb | OK | 10 | 10 |
3 | 3ms | 524kb | OK | 10 | 10 |
4 | 3ms | 655kb | OK | 10 | 10 |
5 | 4ms | 786kb | OK | 10 | 10 |
6 | 5ms | 1048kb | OK | 10 | 10 |
7 | 12ms | 3407kb | OK | 10 | 10 |
8 | 26ms | 5767kb | OK | 10 | 30 |
9 | 31ms | 7340kb | OK | 10 |
10 | 43ms | 8257kb | OK | 10 |
Punctaj total | 100 |