QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#82705#4237. Word Ladderxiaowuc1AC ✓591ms84456kbC++172.6kb2023-02-28 16:03:102023-02-28 16:03:43

詳細信息

Test #1:

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

input:

5

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga

result:

ok good solution

Test #2:

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

input:

3

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga

result:

ok good solution

Test #3:

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

input:

4

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga

result:

ok good solution

Test #5:

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

input:

7

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma

result:

ok good solution

Test #6:

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

input:

8

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma

result:

ok good solution

Test #7:

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

input:

9

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma

result:

ok good solution

Test #8:

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

input:

10

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma

result:

ok good solution

Test #9:

score: 0
Accepted
time: 5ms
memory: 4200kb

input:

64

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #11:

score: 0
Accepted
time: 6ms
memory: 4812kb

input:

97

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #12:

score: 0
Accepted
time: 6ms
memory: 4724kb

input:

100

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #13:

score: 0
Accepted
time: 73ms
memory: 19800kb

input:

1000

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #14:

score: 0
Accepted
time: 81ms
memory: 19904kb

input:

1001

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #15:

score: 0
Accepted
time: 84ms
memory: 20100kb

input:

1024

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #16:

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

input:

1025

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #17:

score: 0
Accepted
time: 591ms
memory: 84316kb

input:

5000

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #18:

score: 0
Accepted
time: 584ms
memory: 84456kb

input:

4999

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #19:

score: 0
Accepted
time: 447ms
memory: 71732kb

input:

4096

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #20:

score: 0
Accepted
time: 465ms
memory: 71952kb

input:

4097

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #21:

score: 0
Accepted
time: 466ms
memory: 72040kb

input:

4098

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution

Test #22:

score: 0
Accepted
time: 393ms
memory: 67036kb

input:

3751

output:

aaaaaaaaaa
laaaaaaaaa
laaaaaaaga
lasaaaaaga
lasaaaazga
laskaaazga
laskaaazma
lasktaazma
lasktlazma
lasqtlazma
lwsqtlazma
lwsqilazma
lwsqilatma
lwsqmlatma
lwsqmwatma
lwsymwatma
lwsyqwatma
lnsyqwatma
lnsylwatma
lrsylwatma
ersylwatma
erhylwatma
erhylaatma
erhylaztma
erhyliztma
erhbliztma
erhbdiztma
erh...

result:

ok good solution