QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#494142#9133. Function with Many Maximumsucup-team3807#AC ✓30ms9676kbC++23428b2024-07-27 14:22:492024-07-27 14:22:50

詳細信息

Test #1:

score: 100
Accepted
time: 30ms
memory: 9544kb

input:

4

output:

500000
250000000000 250000499982 250002000009 250002499841 250004000042 250004499532 250006000099 250006499055 250008000180 250008000181 250008000182 250008000183 250008000184 250008000185 250008000186 250008000187 250008000188 250008000189 250008000190 250008000191 250008000192 250008000193 2500080...

result:

ok n=500000, max_a=250008500171, max_num=5 >= 4

Test #2:

score: 0
Accepted
time: 24ms
memory: 9676kb

input:

100000

output:

500000
250000000000 250000499982 250002000009 250002499841 250004000042 250004499532 250006000099 250006499055 250008000180 250008498410 250010000285 250010497597 250012000414 250012496616 250014000567 250014495467 250016000744 250016494150 250018000945 250018492665 250020001170 250020491012 2500220...

result:

ok n=500000, max_a=694442983145, max_num=100001 >= 100000

Extra Test:

score: 0
Extra Test Passed