QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515175#9133. Function with Many Maximumsucup-team497#AC ✓45ms9280kbC++171.2kb2024-08-11 15:44:052024-08-11 15:44:09

详细

Test #1:

score: 100
Accepted
time: 45ms
memory: 9280kb

input:

4

output:

269999
67219177584 67219249695 67220173435 67220210330 67221169308 67221170811 67222165203 67222401129 67223161121 67223361297 67224157061 67224321311 67225153023 67225281171 67226149007 67226240877 67227145013 67227200429 67228141041 67228159827 67229137091 67229389048 67230133164 67230348133 67231...

result:

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

Test #2:

score: 0
Accepted
time: 29ms
memory: 8984kb

input:

100000

output:

269999
67219177584 67219249695 67220173435 67220210330 67221169308 67221170811 67222165203 67222401129 67223161121 67223361297 67224157061 67224321311 67225153023 67225281171 67226149007 67226240877 67227145013 67227200429 67228141041 67228159827 67229137091 67229389048 67230133164 67230348133 67231...

result:

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

Extra Test:

score: 0
Extra Test Passed