QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#334977#7942. $K$ SubsequencesZhangYiDeWA 0ms1616kbC++20740b2024-02-22 15:46:262024-02-22 15:46:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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 1 1 
1 1 2 2 
1 1 2 2 3 3 3 
1 2 3 2 2 2 2 2 3 3 
1 2 3 4 4 3 2 1 1 2 3 4 

result:

wrong answer Jury found better answer than participant (test case 4)