QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#344452#8135. Minimum Cost Flow²ucup-team2880WA 1ms3832kbC++202.9kb2024-03-04 16:23:402024-03-04 16:23:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3700kb

input:

4
4 4
1 2 1
2 4 1
1 3 1
3 4 1
3 3
1 2 1
1 3 1
2 3 1
5 6
1 2 1
2 3 3
2 4 1
3 4 1
3 5 1
1 5 8
4 5
1 2 1
1 3 2
2 3 1
3 4 1
4 2 8

output:

1
665496236
713031683
614304219

result:

ok 4 number(s): "1 665496236 713031683 614304219"

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3832kb

input:

18
3 3
3 1 716147853
2 1 865756093
3 2 749398397
9 15
7 1 928709747
9 1 692128293
8 2 960581386
6 7 744136630
4 9 233596968
9 7 190944262
3 5 289260315
3 7 164971041
1 8 664146999
5 6 436111746
4 1 780866816
7 5 366276343
8 9 28381218
9 5 140872991
9 2 196864247
4 5
3 4 839263691
2 4 940408725
1 4 4...

output:

716147853
692128293
249733688
931503007
46449698
919607933
696231300
408420564
672021049
843875198
821807656
552968421
135463199
357985276
401644220
696546188
398527570
191511963

result:

wrong answer 1st numbers differ by non-multiple of MOD, - expected: '509847883', found: '716147853'