QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#138117#5439. Meet in the MiddleDitaMirikaWA 73ms32328kbC++203.5kb2023-08-11 00:03:042023-08-11 00:04:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 19244kb

input:

3 4
1 2 1
2 3 2
1 2 2
2 3 1
1 1
1 2
2 1
2 2

output:

6
4
5
3

result:

ok 4 number(s): "6 4 5 3"

Test #2:

score: 0
Accepted
time: 4ms
memory: 20952kb

input:

2 1
1 2 1
1 2 1
1 1

output:

2

result:

ok 1 number(s): "2"

Test #3:

score: 0
Accepted
time: 5ms
memory: 20260kb

input:

2 1
1 2 1
1 2 1
1 2

output:

1

result:

ok 1 number(s): "1"

Test #4:

score: -100
Wrong Answer
time: 73ms
memory: 32328kb

input:

10000 50000
8101 5996 108427744
5996 7605 870838849
5996 5599 603303696
8101 3006 339377417
8101 6463 442516687
6463 5560 109174079
5560 4063 127596224
3006 1682 947915262
5996 1986 130416311
6463 5455 279771516
6463 2634 516688796
4063 3034 217886863
7605 5092 742375061
5599 2266 193804402
5092 140...

output:

658145681310
819330221405
722531428091
645133680530
674333505303
653910203352
850785351888
700508838821
671799759357
829353626279
883618042616
760242221729
962066233277
980981811352
762747377790
735991317389
827577137350
898797739672
758408795452
752289612973
870337661956
710238745945
716795854986
6...

result:

wrong answer 1st numbers differ - expected: '647838384844', found: '658145681310'