QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#752095#5439. Meet in the MiddleNailongGroupWA 37ms18740kbC++206.3kb2024-11-15 21:58:402024-11-15 21:58:40

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 9804kb

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: 2ms
memory: 13960kb

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: 2ms
memory: 11856kb

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: 37ms
memory: 18740kb

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:

1005782777705
984977877195
668626346587
637066393138
830984463615
645842915960
842624786175
646603757317
1002519659489
803875451466
914734730857
734764046916
908161151773
927076729848
887268523085
804340688292
773672055846
864444094003
710618065038
726811438160
816432580452
666761991962
701575393972...

result:

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