QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#526430#5439. Meet in the Middlerotcar08WA 46ms17468kbC++202.5kb2024-08-21 15:44:312024-08-21 15:44:32

詳細信息

Test #1:

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

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: 1ms
memory: 7940kb

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: 8000kb

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: 46ms
memory: 17468kb

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:

370547852813
280837475270
271650838902
381250697587
281462884346
394529346969
350151146356
309506565674
371393701596
505417773816
324566185212
401946630898
409855366353
507942577050
280423210984
319330445755
365560583642
362104384894
320291815892
436943695102
345758820102
355419412424
521709021403
3...

result:

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