QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#334526#7615. Sequence Foldingalch07TL 0ms3744kbC++201.2kb2024-02-22 02:24:202024-02-22 02:24:20

详细

Test #1:

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

input:

8 3
1 5 8

output:

2

result:

ok single line: '2'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

1 1
1

output:

0

result:

ok single line: '0'

Test #3:

score: -100
Time Limit Exceeded

input:

17179869184 100000
138476 774165 993977 1152277 1236393 1244970 1534017 1693701 1763926 1778781 1842066 1874644 1885666 2120429 2485344 2977941 3158255 3340476 3504862 4000117 4066652 4197639 4338723 4389163 4576965 4761601 5097091 5175412 5295902 5810551 5855982 6001770 6111262 6163309 6351547 6582...

output:

138476 2 0
774165 2 0
993977 2 0
1152277 2 0
1236393 2 0
1244970 2 0
1534017 2 0
1693701 2 0
1763926 2 0
1778781 2 0
1842066 2 0
1874644 2 0
1885666 2 0
2120429 2 0
2485344 2 0
2977941 2 0
3158255 2 0
3340476 2 0
3504862 2 0
4000117 2 0
4066652 2 0
4197639 2 0
4338723 2 0
4389163 2 0
4576965 2 0
476...

result: