QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#775490#9133. Function with Many Maximumsucup-team132#AC ✓17ms7796kbC++175.4kb2024-11-23 16:04:272024-11-23 16:04:29

详细

Test #1:

score: 100
Accepted
time: 17ms
memory: 6156kb

input:

4

output:

300000
100000000000 100000233314 100001333343 100001366495 100002666712 100002799488 100004000108 100004232292 100005333531 100005364917 100006666980 100006797348 100008000456 100008229590 100009333959 100009361659 100010667488 100010793528 100012001044 100012225208 100013334627 100013356721 1000146...

result:

ok n=300000, max_a=899934320783, max_num=100000 >= 4

Test #2:

score: 0
Accepted
time: 10ms
memory: 7796kb

input:

100000

output:

300000
100000000000 100000233314 100001333343 100001366495 100002666712 100002799488 100004000108 100004232292 100005333531 100005364917 100006666980 100006797348 100008000456 100008229590 100009333959 100009361659 100010667488 100010793528 100012001044 100012225208 100013334627 100013356721 1000146...

result:

ok n=300000, max_a=899934320783, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed