QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#175328#5665. AA Country and King Dreamoonucup-team607#RE 0ms0kbC++171.9kb2023-09-10 17:28:482023-09-10 17:28:48

詳細信息

Test #1:

score: 0
Runtime Error

input:

9
5
1 2 3 2 0 2 1 5 1
5
1 2 3 0 0 2 1 5 1
5
1 2 0 0 0 2 1 5 1
5
1 2 0 0 0 0 1 5 1
5
1 0 0 0 0 0 1 5 1
5
1 0 0 0 0 0 0 5 1
5
1 0 0 0 0 0 0 0 1
5
1 0 0 0 0 0 0 0 0
5
0 0 0 0 0 0 0 0 0

output:


result: