QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#285922#7942. $K$ Subsequencesucup-team2045#WA 3ms8268kbC++14940b2023-12-17 00:20:282023-12-17 00:20:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 8268kb

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 0 0
2 1 0
3 0 0
1 1 1
1 0 0
2 0 0
3 1 0
4 1 1
1 1 2 2
1 0 0
2 1 0
3 1 0
4 1 1
5 2 1
6 2 1
7 2 2
1 2 3 3 2 1 1
1 0 0
2 1 0
3 1 0
4 1 1
5 2 1
6 1 1
7 1 0
8 1 1
9 2 1
10 2 1
1 2 3 3 3 3 3 3 2 1
1 0 0
2 1 0
3 1 0
4 1 0
5 1 1
6 1 0
7 1 0
8 1 0
9 0 0
10 1 0
11 1 0
12 1 0
1 2 3 4 4 3 2 1 1 2 3 4

result:

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