QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#767384#9133. Function with Many MaximumspokorfanclubAC ✓18ms7496kbC++201.8kb2024-11-20 20:47:542024-11-20 20:48:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 12ms
memory: 5176kb

input:

4

output:

200006
1000000000000 999999999999 999999999998 999999999997 999999999996 999999999995 999999999994 999999999993 999999999992 999999999991 999999999990 999999999989 999999999988 999999999987 999999999986 999999999985 999999999984 999999999983 999999999982 999999999981 999999999980 999999999979 999999...

result:

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

Test #2:

score: 0
Accepted
time: 18ms
memory: 7496kb

input:

100000

output:

399998
1000000000000 999999999999 999999999998 999999999997 999999999996 999999999995 999999999994 999999999993 999999999992 999999999991 999999999990 999999999989 999999999988 999999999987 999999999986 999999999985 999999999984 999999999983 999999999982 999999999981 999999999980 999999999979 999999...

result:

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

Extra Test:

score: 0
Extra Test Passed