QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310778#8135. Minimum Cost Flow²ucup-team2895WA 1ms4608kbC++141.8kb2024-01-21 17:41:222024-01-21 17:41:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 4608kb

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 0 1 0 1
-1 1 0 0 0
0 0 -1 1 0
-1 -1 1 1 0
1
1 1 0 1
-1 0 1 0
1 -1 1 0
665496236
1 0 0 0 0 1 1
-1 1 1 0 0 0 0
0 -1 0 1 1 0 0
0 0 -1 -1 0 0 0
0 3 -1 1 0 0 0
-1 -3 0 0 -1 8 0
713031683
1 1 0 0 0 1
-1 0 1 0 -1 0
0 -1 -1 1 0 0
1 -2 1 0 0 0
-1 2 0 1 8 0
614304219

result:

wrong answer 2nd numbers differ by non-multiple of MOD, - expected: '665496236', found: '0'