QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#175030#5665. AA Country and King Dreamoonucup-team607#RE 0ms0kbC++172.2kb2023-09-10 15:45:102023-09-10 15:45:11

Details

Tip: Click on the bar to expand more detailed information

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: