QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#292766#1375. TripTiklmq26052003TL 19ms413628kbC++174.0kb2023-12-28 12:52:532023-12-28 12:52:53

詳細信息

Test #1:

score: 100
Accepted
time: 19ms
memory: 413628kb

input:

4 2
-2
-1
-3
2

output:

3
1
3
2

result:

ok 4 lines

Test #2:

score: -100
Time Limit Exceeded

input:

100000 4
-81032899
-96819000
35569221
67767248
74154777
75473369
3463319
18339682
-77145048
-26587182
-22902096
-55717109
-47237134
-44620229
-45753774
33183854
-15569807
72648777
-33842373
44545672
-48017305
71506102
33448860
-20688896
6205313
21527590
24985350
-14688810
29596074
-47051603
-9258675...

output:


result: