QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#544537#9133. Function with Many Maximumsucup-team254#AC ✓19ms7784kbC++202.2kb2024-09-02 18:36:312024-09-02 18:36:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 4200kb

input:

4

output:

100006
999879912010 999879938358 999919905607 999919975173 999959901604 999959995188 999999900001 999999900002 999999900003 999999900004 999999900005 999999900006 999999900007 999999900008 999999900009 999999900010 999999900011 999999900012 999999900013 999999900014 999999900015 999999900016 9999999...

result:

ok n=100006, max_a=1000000000000, max_num=4 >= 4

Test #2:

score: 0
Accepted
time: 19ms
memory: 7784kb

input:

100000

output:

299998
111114038880 111114257196 111115520421 111115549317 111117001991 111117141227 111118483591 111118732927 111119965221 111120024429 111121446880 111121615714 111122928569 111123206789 111124410288 111124497672 111125892036 111126088332 111127373814 111127378804 111128855621 111128969049 1111303...

result:

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

Extra Test:

score: 0
Extra Test Passed