QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#766601#8938. Crawling on a Tree玩原神的都进队了 (Junlin Ye, Ruichen Dai, Chenghan Li)RE 48ms786104kbC++171.3kb2024-11-20 17:55:162024-11-20 17:55:19

详细

Test #1:

score: 100
Accepted
time: 48ms
memory: 786104kb

input:

4 2
1 2 3 2
2 3 2 1
2 4 5 1
1 1 1

output:

-1
13

result:

ok 2 number(s): "-1 13"

Test #2:

score: -100
Runtime Error

input:

4 2
1 2 3 2
2 3 2 1
2 4 5 1
2 2 2

output:


result: