QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#246531#6652. 着色HuangHanShengAC ✓20ms7488kbC++14671b2023-11-10 21:48:362023-11-10 21:48:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3776kb

input:

2

output:

9

result:

ok Accepted.

Test #2:

score: 0
Accepted
time: 15ms
memory: 7488kb

input:

1000

output:

011222233333333444444444444444455555555555555555555555555555556666666666666666666666666666666666666666666666666666666666666677777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777888888888888888888888888888888888888888888888888888...

result:

ok Accepted.

Test #3:

score: 0
Accepted
time: 20ms
memory: 7468kb

input:

988

output:

011222233333333444444444444444555555555555555555555555555555566666666666666666666666666666666666666666666666666666666666666777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777888888888888888888888888888888888888888888888888888888...

result:

ok Accepted.

Test #4:

score: 0
Accepted
time: 1ms
memory: 4128kb

input:

104

output:

3445556666667777777777777888888888888888888888888889999999999999999999999999999999999999999999999999999
445556666667777777777777888888888888888888888888889999999999999999999999999999999999999999999999999999
355566666677777777777778888888888888888888888888899999999999999999999999999999999999999999999...

result:

ok Accepted.

Test #5:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

7

output:

788999
88999
7999
999
78
8

result:

ok Accepted.

Test #6:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

59

output:

4556666777777788888888888888899999999999999999999999999999
556666777777788888888888888899999999999999999999999999999
46666777777788888888888888899999999999999999999999999999
6666777777788888888888888899999999999999999999999999999
455777777788888888888888899999999999999999999999999999
557777777888888...

result:

ok Accepted.