QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481598#5418. Color the TreeFarmer_DWA 2ms9176kbC++171.7kb2024-07-17 11:09:162024-07-17 11:09:18

詳細信息

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