QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#496190#9133. Function with Many Maximumsucup-team149#AC ✓150ms79724kbPython3644b2024-07-28 04:01:012024-07-28 04:01:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 48ms
memory: 51940kb

input:

4

output:

300006
999959701344 999959926444 999973033963 999973063881 999986366848 999986499456 999999700000 999999700001 999999700002 999999700003 999999700004 999999700005 999999700006 999999700007 999999700008 999999700009 999999700010 999999700011 999999700012 999999700013 999999700014 999999700015 9999997...

result:

ok n=300006, max_a=999999999999, max_num=4 >= 4

Test #2:

score: 0
Accepted
time: 150ms
memory: 79724kb

input:

100000

output:

499998
360003699276 360003881960 360006579329 360006981485 360009459417 360009580773 360012339539 360012679813 360015219696 360015278620 360018099887 360018377175 360020980113 360021475485 360023860374 360024073568 360026740669 360027171393 360029620999 360029768995 360032501363 360032866335 3600353...

result:

ok n=499998, max_a=999999999999, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed