QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#496669#9133. Function with Many MaximumsqiuzxAC ✓30ms8964kbC++201.1kb2024-07-28 14:29:202024-07-28 14:29:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 22ms
memory: 8964kb

input:

4

output:

400000
159999600000 160000400000 160000799949 160002000017 160002399744 160003600058 160003999371 160005200123 160005598830 160006800212 160007198121 160008400325 160008797244 160010000462 160010396199 160011600623 160011994986 160013200808 160013593605 160014801017 160015192056 160016401250 1600167...

result:

ok n=400000, max_a=640245186182, max_num=100021 >= 4

Test #2:

score: 0
Accepted
time: 30ms
memory: 7860kb

input:

100000

output:

400000
159999600000 160000400000 160000799949 160002000017 160002399744 160003600058 160003999371 160005200123 160005598830 160006800212 160007198121 160008400325 160008797244 160010000462 160010396199 160011600623 160011994986 160013200808 160013593605 160014801017 160015192056 160016401250 1600167...

result:

ok n=400000, max_a=640245186182, max_num=100021 >= 100000

Extra Test:

score: 0
Extra Test Passed