QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#766601#8938. Crawling on a Treeucup-team3407RE 48ms786104kbC++171.3kb2024-11-20 17:55:162024-11-20 17:55:19

Details

Tip: Click on the bar to expand more detailed information

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: