QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233096#7316. Maximum FlowhouzhiyuanWA 238ms3628kbC++141.6kb2023-10-31 13:11:512023-10-31 13:11:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3620kb

input:

1
2
2
1 3 1
3
1 4 7
2 5 8
2 3 3 2 1 2 4

output:

5
6

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 198ms
memory: 3628kb

input:

1
938
873
268 125 648
4
108 920 555 119
880 318 239 544
118 32 834 663 211 723 469 665 913
8
813 11 69 900 265 374 799 784
597 350 321 825 736 842 628 561
234 75 386 564 57 690 452 282 631 7 478 809 353 979 70 513 154
2
360 848
736 84
790 333 691 890 105
1
406
246
599 389 487
1
844
14
372 54 729
6
6...

output:

1041
258
389
1079
1041
797
316
475
520
919
2580
1041
616
1505
840
944
404
468
587
537
571
826
691
912
705
588
1263
432
576
156
512
476
1072
805
198
1112
406
661
729
468
775
485
1093
610
609
1278
718
714
1058
671
614
336
1038
287
1335
698
419
1517
568
487
989
1211
750
755
720
1018
363
1112
760
653
10...

result:

ok 90811 lines

Test #3:

score: -100
Wrong Answer
time: 238ms
memory: 3540kb

input:

7
675339823 259079140 661093389 13354933 397656609 723805171 509737606
648584092 956615843 660068366 688517792 32649622 310322197 47305542
854281220 665310731 913594889 469539070 80044751 442039546 546612678 430781806 736265746 180993139 301901510 506999328 646093393 599659293 472192312
2
828645401 ...

output:

611299370
1000000000
788666728
858052167
397196279
1000000000
575486180
576849963
795339509
724194726
656265293
569358859
887214784
1000000000
1000000000
672134072
555631888
1000000000
1000000000
1000000000
1000000000
1000000000
1000000000
956159651
466233550
569763863
894768437
634934208
424292594
...

result:

wrong answer 2nd lines differ - expected: '2269395332', found: '1000000000'