QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#510471#9133. Function with Many Maximumsucup-team1565AC ✓30ms8512kbC++201.7kb2024-08-09 05:45:292024-08-09 05:45:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4

output:

100006
999999999999 999999999998 999999999997 999999999996 999999999995 999999999994 999999999993 999999999992 999999999991 999999999990 999999999989 999999999988 999999999987 999999999986 999999999985 999999999984 999999999983 999999999982 999999999981 999999999980 999999999979 999999999978 9999999...

result:

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

Test #2:

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

input:

100000

output:

299998
999999999999 999999999998 999999999997 999999999996 999999999995 999999999994 999999999993 999999999992 999999999991 999999999990 999999999989 999999999988 999999999987 999999999986 999999999985 999999999984 999999999983 999999999982 999999999981 999999999980 999999999979 999999999978 9999999...

result:

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

Extra Test:

score: 0
Extra Test Passed