QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#64132#5102. Dungeon CrawlerznstzWA 2ms3680kbC++143.4kb2022-11-24 09:41:272022-11-24 09:41:30

详细

Test #1:

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

input:

22 5
1 2 7
2 3 5
3 4 8
3 6 6
3 7 3
2 5 6
5 8 2
8 9 11
2 10 16
1 11 12
11 12 4
11 13 9
1 14 25
14 15 4
15 16 5
15 17 6
15 18 1
15 19 8
14 20 7
20 21 9
20 22 17
1 19 9
1 9 19
1 8 9
1 9 8
2 22 11

output:

316
293
293
impossible
314

result:

ok 5 lines

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3680kb

input:

100 100
1 2 289384
2 3 930887
2 4 692778
4 5 636916
4 6 747794
4 7 238336
4 8 885387
8 9 760493
8 10 516650
8 11 641422
8 12 202363
8 13 490028
8 14 368691
8 15 520060
8 16 897764
16 17 513927
16 18 180541
16 19 383427
16 20 89173
16 21 455737
16 22 5212
16 23 595369
16 24 702568
16 25 956430
16 26 ...

output:

103526917
103484292
106288816
104379596
104405611
104775512
105702201
105291604
103838430
106026228
105403602
104175650
105894571
104509242
103971939
105376499
105223283
104153426
105082245
105428824
104130613
104800548
106846555
104138329
103769253
106456687
104044745
104385328
106973740
105460460
...

result:

wrong answer 7th lines differ - expected: '105434682', found: '105702201'