QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#301106#4237. Word LadderMaMengQiAC ✓1ms3672kbC++20891b2024-01-09 14:30:442024-01-09 14:30:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3616kb

input:

5

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc

result:

ok good solution

Test #2:

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

input:

3

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb

result:

ok good solution

Test #3:

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

input:

4

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd

result:

ok good solution

Test #5:

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

input:

7

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed

result:

ok good solution

Test #6:

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

input:

8

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee

result:

ok good solution

Test #7:

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

input:

9

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe

result:

ok good solution

Test #8:

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

input:

10

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff

result:

ok good solution

Test #9:

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

input:

64

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #11:

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

input:

97

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #12:

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

input:

100

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #13:

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

input:

1000

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #14:

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

input:

1001

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #15:

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

input:

1024

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #16:

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

input:

1025

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #17:

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

input:

5000

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #18:

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

input:

4999

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #19:

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

input:

4096

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #20:

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

input:

4097

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #21:

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

input:

4098

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution

Test #22:

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

input:

3751

output:

aaaaaaaaba
aaaaaaaabb
aaaaaaaacb
aaaaaaaacc
aaaaaaaadc
aaaaaaaadd
aaaaaaaaed
aaaaaaaaee
aaaaaaaafe
aaaaaaaaff
aaaaaaaagf
aaaaaaaagg
aaaaaaaahg
aaaaaaaahh
aaaaaaaaih
aaaaaaaaii
aaaaaaaaji
aaaaaaaajj
aaaaaaaakj
aaaaaaaakk
aaaaaaaalk
aaaaaaaall
aaaaaaaaml
aaaaaaaamm
aaaaaaaanm
aaaaaaaann
aaaaaaaaon
aaa...

result:

ok good solution