QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#599254#9424. Stop the Castle 2ucup-team3188#RE 0ms0kbC++204.7kb2024-09-29 02:49:172024-09-29 02:49:18

详细

Test #1:

score: 0
Runtime Error

input:

3
8 6 4
1 3
2 1
2 6
4 1
4 7
6 1
6 3
6 6
2 3
3 1
4 3
4 6
5 2
6 4
3 2 1
10 12
10 10
10 11
1 4
1 5
1 3 2
1 1
2 1
2 2
2 3

output:

0 2 1 1
0 3 1 1

result: