Pagini recente » Borderou de evaluare (job #1906389) | Borderou de evaluare (job #36840) | Borderou de evaluare (job #708647) | Borderou de evaluare (job #186179) | Borderou de evaluare (job #2658021)
Borderou de evaluare (job #2658021)
Raport evaluator
Compilare:
main.cpp: In function 'bool bfs()':
main.cpp:30:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[current_node].size(); ++i) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:63:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<arcs[n].size(); ++j) {
~^~~~~~~~~~~~~~~
main.cpp:46:35: 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:47:37: 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:50:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:56:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 262kb | OK | 10 | 10 |
3 | 3ms | 524kb | OK | 10 | 10 |
4 | 4ms | 655kb | OK | 10 | 10 |
5 | 4ms | 786kb | OK | 10 | 10 |
6 | 5ms | 1048kb | OK | 10 | 10 |
7 | 12ms | 3014kb | OK | 10 | 10 |
8 | 26ms | 5767kb | OK | 10 | 30 |
9 | 31ms | 7340kb | OK | 10 |
10 | 42ms | 8126kb | OK | 10 |
Punctaj total | 100 |