QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#494916#9133. Function with Many Maximumsucup-team1005#AC ✓33ms9148kbC++201.0kb2024-07-27 17:38:082024-07-27 17:38:08

詳細信息

Test #1:

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

input:

4

output:

500000
200000000000 200000299986 200001600007 200001799875 200003200033 200003299631 200004800078 200005299246 200006400143 200006798731 200008000227 200008298083 200009600330 200009797302 200011200452 200011296388 200012800593 200013295323 200014400754 200014794138 200016000934 200016292820 2000176...

result:

ok n=500000, max_a=555547057855, max_num=100000 >= 4

Test #2:

score: 0
Accepted
time: 28ms
memory: 9148kb

input:

100000

output:

500000
200000000000 200000299986 200001600007 200001799875 200003200033 200003299631 200004800078 200005299246 200006400143 200006798731 200008000227 200008298083 200009600330 200009797302 200011200452 200011296388 200012800593 200013295323 200014400754 200014794138 200016000934 200016292820 2000176...

result:

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

Extra Test:

score: 0
Extra Test Passed