QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48167#1375. TripTikMaMengQiTL 20ms94040kbC++178.8kb2022-09-12 07:19:522022-09-12 07:19:54

詳細信息

Test #1:

score: 100
Accepted
time: 20ms
memory: 94040kb

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: