QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#285519#7942. $K$ Subsequencesucup-team1239#WA 0ms3564kbC++143.2kb2023-12-16 19:54:342023-12-16 19:54:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
3 2
1 -1 1
4 2
-1 1 1 -1
7 3
1 1 1 1 1 1 1
10 3
1 1 1 1 -1 -1 1 1 1 1
12 4
1 1 1 1 -1 -1 -1 -1 1 1 1 1

output:

1 2 2 
1 1 2 2 
1 2 3 3 3 2 1 
1 2 3 4 4 4 4 3 2 1 
1 2 3 4 1 3 4 2 4 3 2 1 

result:

wrong answer Integer element [index=4] equals to 4, violates the range [1, 3] (test case 4)