QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#602368#9424. Stop the Castle 2ucup-team5027WA 0ms10008kbC++204.2kb2024-09-30 23:37:212024-09-30 23:37:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 10008kb

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:

4 0
2 3 5 6 
2 1
2 
0 1
2 3 

result:

wrong answer Integer parameter [name=b_i] equals to 0, violates the range [1, 6] (test case 1)