QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#783280#5439. Meet in the MiddleCustloWA 28ms44484kbC++144.6kb2024-11-26 07:31:082024-11-26 07:31:10

詳細信息

Test #1:

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

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: 0ms
memory: 36336kb

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: 0ms
memory: 35068kb

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: 28ms
memory: 44484kb

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:

647838384844
602126803569
505328010255
637066393138
456072330399
645842915960
641537859258
483305420985
459407279331
573316121269
674370549986
463302818993
744862815441
763778393516
553499885160
526743824759
610373719514
689550247042
549161302822
498449365451
653134244120
493035328109
701575393972
6...

result:

wrong answer 2nd numbers differ - expected: '626539793176', found: '602126803569'