QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#49984#4237. Word Ladderybw051114#AC ✓3ms3680kbC++5.0kb2022-09-24 13:07:352022-09-24 13:07:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3444kb

input:

5

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc

result:

ok good solution

Test #2:

score: 0
Accepted
time: 3ms
memory: 3628kb

input:

3

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb

result:

ok good solution

Test #3:

score: 0
Accepted
time: 3ms
memory: 3480kb

input:

4

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd

result:

ok good solution

Test #5:

score: 0
Accepted
time: 2ms
memory: 3580kb

input:

7

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd

result:

ok good solution

Test #6:

score: 0
Accepted
time: 2ms
memory: 3660kb

input:

8

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade

result:

ok good solution

Test #7:

score: 0
Accepted
time: 2ms
memory: 3680kb

input:

9

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee

result:

ok good solution

Test #8:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

10

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef

result:

ok good solution

Test #9:

score: 0
Accepted
time: 2ms
memory: 3600kb

input:

64

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #11:

score: 0
Accepted
time: 2ms
memory: 3580kb

input:

97

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #12:

score: 0
Accepted
time: 2ms
memory: 3524kb

input:

100

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #13:

score: 0
Accepted
time: 2ms
memory: 3452kb

input:

1000

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #14:

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

input:

1001

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #15:

score: 0
Accepted
time: 2ms
memory: 3608kb

input:

1024

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #16:

score: 0
Accepted
time: 2ms
memory: 3584kb

input:

1025

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #17:

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

input:

5000

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #18:

score: 0
Accepted
time: 3ms
memory: 3604kb

input:

4999

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #19:

score: 0
Accepted
time: 3ms
memory: 3584kb

input:

4096

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #20:

score: 0
Accepted
time: 3ms
memory: 3600kb

input:

4097

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #21:

score: 0
Accepted
time: 3ms
memory: 3584kb

input:

4098

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution

Test #22:

score: 0
Accepted
time: 3ms
memory: 3676kb

input:

3751

output:

aaaaaaaaaa
aaaaaaaaab
aaaaaaaabb
aaaaaaaabc
aaaaaaaacc
aaaaaaaacd
aaaaaaaadd
aaaaaaaade
aaaaaaaaee
aaaaaaaaef
aaaaaaaaff
aaaaaaaafg
aaaaaaaagg
aaaaaaaagh
aaaaaaaahh
aaaaaaaahi
aaaaaaaaii
aaaaaaaaij
aaaaaaaajj
aaaaaaaajk
aaaaaaaakk
aaaaaaaakl
aaaaaaaall
aaaaaaaalm
aaaaaaaamm
aaaaaaaamn
aaaaaaaann
aaa...

result:

ok good solution