QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#323758#6652. 着色GuanYunchangAC ✓115ms268832kbC++17822b2024-02-10 13:14:492024-02-10 13:14:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 44996kb

input:

2

output:

9


result:

ok Accepted.

Test #2:

score: 0
Accepted
time: 85ms
memory: 268832kb

input:

1000

output:

112222333333334444444444444444555555555555555555555555555555566666666666666666666666666666666666666666666666666666666666666677777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777888888888888888888888888888888888888888888888888888...

result:

ok Accepted.

Test #3:

score: 0
Accepted
time: 115ms
memory: 268824kb

input:

988

output:

112222333333334444444444444445555555555555555555555555555555666666666666666666666666666666666666666666666666666666666666667777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777888888888888888888888888888888888888888888888888888888...

result:

ok Accepted.

Test #4:

score: 0
Accepted
time: 24ms
memory: 194208kb

input:

104

output:

4455566666667777777777777888888888888888888888888889999999999999999999999999999999999999999999999999999
355566666667777777777777888888888888888888888888889999999999999999999999999999999999999999999999999999
555666666677777777777778888888888888888888888888899999999999999999999999999999999999999999999...

result:

ok Accepted.

Test #5:

score: 0
Accepted
time: 12ms
memory: 94792kb

input:

7

output:

889999
79999
9999
788
88
7


result:

ok Accepted.

Test #6:

score: 0
Accepted
time: 51ms
memory: 169396kb

input:

59

output:

5566667777777888888888888888999999999999999999999999999999
466667777777888888888888888999999999999999999999999999999
66667777777888888888888888999999999999999999999999999999
4557777777888888888888888999999999999999999999999999999
557777777888888888888888999999999999999999999999999999
477777778888888...

result:

ok Accepted.