QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#47421#4237. Word LadderlpfAC ✓3ms3876kbC++141.5kb2022-09-09 11:41:302022-09-09 11:41:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3868kb

input:

5

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa

result:

ok good solution

Test #2:

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

input:

3

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa

result:

ok good solution

Test #3:

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

input:

4

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa

result:

ok good solution

Test #5:

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

input:

7

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa

result:

ok good solution

Test #6:

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

input:

8

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa

result:

ok good solution

Test #7:

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

input:

9

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa

result:

ok good solution

Test #8:

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

input:

10

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa

result:

ok good solution

Test #9:

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

input:

64

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #11:

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

input:

97

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #12:

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

input:

100

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #13:

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

input:

1000

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #14:

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

input:

1001

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #15:

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

input:

1024

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #16:

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

input:

1025

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #17:

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

input:

5000

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #18:

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

input:

4999

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #19:

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

input:

4096

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #20:

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

input:

4097

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #21:

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

input:

4098

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution

Test #22:

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

input:

3751

output:

aaaaaaaaaa
baaaaaaaaa
bbaaaaaaaa
cbaaaaaaaa
ccaaaaaaaa
dcaaaaaaaa
ddaaaaaaaa
edaaaaaaaa
eeaaaaaaaa
feaaaaaaaa
ffaaaaaaaa
gfaaaaaaaa
ggaaaaaaaa
hgaaaaaaaa
hhaaaaaaaa
ihaaaaaaaa
iiaaaaaaaa
jiaaaaaaaa
jjaaaaaaaa
kjaaaaaaaa
kkaaaaaaaa
lkaaaaaaaa
llaaaaaaaa
mlaaaaaaaa
mmaaaaaaaa
nmaaaaaaaa
nnaaaaaaaa
ona...

result:

ok good solution