QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#698443#9133. Function with Many Maximumsucup-team4744#AC ✓27ms8432kbC++201.4kb2024-11-01 19:41:592024-11-01 19:42:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 27ms
memory: 8432kb

input:

4

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=694433724034, max_num=100000 >= 4

Test #2:

score: 0
Accepted
time: 17ms
memory: 8040kb

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=694433724034, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed