QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#493138#9133. Function with Many Maximumsucup-team003#AC ✓32ms7712kbC++14890b2024-07-26 19:57:352024-07-26 19:57:35

详细

Test #1:

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

input:

4

output:

20
5000000 5000016 6111112 6111128 7638891 7638901 9821432 9821433 9821434 9821435 9821436 9821437 9821438 9821439 9821440 9821441 9821442 9821443 9821444 9821445 

result:

ok n=20, max_a=9821445, max_num=4 >= 4

Test #2:

score: 0
Accepted
time: 32ms
memory: 7712kb

input:

100000

output:

500000
125000000000 125000499990 125001000005 125001499917 125002000022 125002499760 125003000051 125003499519 125004000092 125004499194 125005000145 125005498785 125006000210 125006498292 125007000287 125007497715 125008000376 125008497054 125009000477 125009496309 125010000590 125010495480 1250110...

result:

ok n=500000, max_a=347217057423, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed