QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#52576#4237. Word LadderZhangYiDeAC ✓4ms3496kbC++14662b2022-10-04 13:34:072022-10-04 13:34:09

詳細信息

Test #1:

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

input:

5

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa

result:

ok good solution

Test #2:

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

input:

3

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa

result:

ok good solution

Test #3:

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

input:

4

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa

result:

ok good solution

Test #5:

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

input:

7

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa

result:

ok good solution

Test #6:

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

input:

8

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa

result:

ok good solution

Test #7:

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

input:

9

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa

result:

ok good solution

Test #8:

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

input:

10

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa

result:

ok good solution

Test #9:

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

input:

64

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #11:

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

input:

97

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #12:

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

input:

100

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #13:

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

input:

1000

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #14:

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

input:

1001

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #15:

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

input:

1024

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #16:

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

input:

1025

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #17:

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

input:

5000

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #18:

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

input:

4999

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #19:

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

input:

4096

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #20:

score: 0
Accepted
time: 4ms
memory: 3416kb

input:

4097

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #21:

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

input:

4098

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution

Test #22:

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

input:

3751

output:

aaaaaaaaa
baaaaaaaa
bbaaaaaaa
cbaaaaaaa
ccaaaaaaa
dcaaaaaaa
ddaaaaaaa
edaaaaaaa
eeaaaaaaa
feaaaaaaa
ffaaaaaaa
gfaaaaaaa
ggaaaaaaa
hgaaaaaaa
hhaaaaaaa
ihaaaaaaa
iiaaaaaaa
jiaaaaaaa
jjaaaaaaa
kjaaaaaaa
kkaaaaaaa
lkaaaaaaa
llaaaaaaa
mlaaaaaaa
mmaaaaaaa
nmaaaaaaa
nnaaaaaaa
onaaaaaaa
ooaaaaaaa
poaaaaaaa
...

result:

ok good solution