QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#516352#9133. Function with Many Maximumsucup-team2208#AC ✓41ms11828kbC++203.7kb2024-08-12 16:20:432024-08-12 16:20:43

详细

Test #1:

score: 100
Accepted
time: 33ms
memory: 11700kb

input:

4

output:

400000
250001245814 250001262508 250003745839 250003962231 250006245902 250006261694 250008746002 250008960890 250011246140 250011259830 250013746315 250013958499 250016246528 250016256916 250018746778 250018955058 250021247066 250021252952 250023747391 250023950567 250026247754 250026247938 2500287...

result:

ok n=400000, max_a=1000000000000, max_num=100000 >= 4

Test #2:

score: 0
Accepted
time: 41ms
memory: 11828kb

input:

100000

output:

400000
250001245814 250001262508 250003745839 250003962231 250006245902 250006261694 250008746002 250008960890 250011246140 250011259830 250013746315 250013958499 250016246528 250016256916 250018746778 250018955058 250021247066 250021252952 250023747391 250023950567 250026247754 250026247938 2500287...

result:

ok n=400000, max_a=1000000000000, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed