QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#19960#2289. Jail or Joyridewlxhkk#WA 4ms5132kbC++112.0kb2022-02-14 14:05:182022-05-08 01:41:23

詳細信息

Test #1:

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

input:

9 10 1 2
1 2 225869
2 3 1772
3 4 314393
4 5 692250
5 6 684107
4 6 532792
3 7 441133
7 8 468183
8 9 186297
7 9 228792

output:

impossible

result:

ok single line: 'impossible'

Test #2:

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

input:

9 10 3 2
1 2 225869
2 3 1772
3 4 314393
4 5 692250
5 6 684107
4 6 532792
3 7 441133
7 8 468183
8 9 186297
7 9 228792

output:

227641

result:

ok single line: '227641'

Test #3:

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

input:

8 22 8 1
1 2 11
1 3 11
1 4 11
1 5 11
1 6 11
1 7 10
2 3 12
2 4 12
2 5 12
2 6 12
2 7 11
3 4 13
3 5 13
3 6 13
3 7 12
4 5 14
4 6 14
4 7 13
5 6 15
5 7 14
6 7 15
7 8 1

output:

38

result:

wrong answer 1st lines differ - expected: '92', found: '38'