QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#766613#8938. Crawling on a Treeucup-team3407WA 15ms786184kbC++171.4kb2024-11-20 17:57:372024-11-20 17:57:37

详细

Test #1:

score: 100
Accepted
time: 15ms
memory: 786184kb

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
Wrong Answer
time: 15ms
memory: 786056kb

input:

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

output:

-1
69

result:

wrong answer 2nd numbers differ - expected: '-1', found: '69'