QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#581907#7942. $K$ Subsequencesucup-team4645#WA 15ms3644kbC++141001b2024-09-22 14:33:362024-09-22 14:33:37

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3632kb

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

result:

ok Correct (5 test cases)

Test #2:

score: -100
Wrong Answer
time: 15ms
memory: 3644kb

input:

18434
10 1
-1 1 1 -1 -1 1 -1 -1 1 1
10 2
-1 -1 -1 1 1 -1 1 1 1 1
10 2
1 -1 -1 -1 -1 1 1 -1 1 1
10 7
1 1 -1 1 -1 1 1 -1 -1 1
9 1
-1 1 -1 1 1 -1 1 -1 1
8 1
-1 -1 -1 -1 1 1 -1 -1
10 3
-1 -1 -1 1 1 1 1 -1 -1 -1
9 1
1 -1 -1 1 -1 -1 -1 -1 -1
10 10
-1 1 1 1 1 1 1 1 1 1
10 4
-1 1 -1 1 -1 1 1 -1 1 1
9 3
1 1 ...

output:

1 1 1 1 1 1 1 1 1 1 
1 2 1 1 2 2 1 2 1 2 
1 1 2 1 2 2 1 1 2 1 
1 2 1 3 2 4 5 3 4 6 
1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 
1 2 3 1 2 3 1 1 2 3 
1 1 1 1 1 1 1 1 1 
1 1 2 3 4 5 6 7 8 9 
1 1 2 2 3 3 4 4 1 2 
1 2 1 2 3 3 1 1 2 
1 2 1 3 4 1 2 2 
1 1 2 3 4 5 6 7 2 1 
1 1 2 2 3 4 3 4 5 
1 1 1 1 1 1 1 1 1 
1 2...

result:

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