QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#481598#5418. Color the TreeFarmer_DWA 2ms9176kbC++171.7kb2024-07-17 11:09:162024-07-17 11:09:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 9176kb

input:

3
4
10 15 40 1
1 2
2 3
2 4
5
10 5 1 100 1000
1 2
2 3
2 4
4 5
4
1000 200 10 8
1 2
2 3
3 4

output:


result:

wrong answer Answer contains longer sequence [length = 3], but output contains 0 elements