QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#212261#4237. Word Ladderucup-team138#AC ✓219ms73656kbC++141.0kb2023-10-13 13:54:382023-10-13 13:54:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc

result:

ok good solution

Test #2:

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

input:

3

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac

result:

ok good solution

Test #3:

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

input:

4

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac

result:

ok good solution

Test #4:

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

input:

6

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc

result:

ok good solution

Test #5:

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

input:

7

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc

result:

ok good solution

Test #6:

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

input:

8

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc

result:

ok good solution

Test #7:

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

input:

9

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc

result:

ok good solution

Test #8:

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

input:

10

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc

result:

ok good solution

Test #9:

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

input:

64

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #10:

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

input:

51

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #11:

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

input:

97

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #12:

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

input:

100

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #13:

score: 0
Accepted
time: 27ms
memory: 17552kb

input:

1000

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #14:

score: 0
Accepted
time: 29ms
memory: 17636kb

input:

1001

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #15:

score: 0
Accepted
time: 34ms
memory: 18124kb

input:

1024

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #16:

score: 0
Accepted
time: 36ms
memory: 18140kb

input:

1025

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #17:

score: 0
Accepted
time: 218ms
memory: 73572kb

input:

5000

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #18:

score: 0
Accepted
time: 219ms
memory: 73656kb

input:

4999

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #19:

score: 0
Accepted
time: 149ms
memory: 60852kb

input:

4096

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #20:

score: 0
Accepted
time: 173ms
memory: 60904kb

input:

4097

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #21:

score: 0
Accepted
time: 167ms
memory: 60944kb

input:

4098

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution

Test #22:

score: 0
Accepted
time: 164ms
memory: 56216kb

input:

3751

output:

aaaaaaaaaa
aaaaaavaaa
aaaaaavaac
aaaaaavkac
aaaaaavkwc
aaaaaavlwc
aaaaaavlpc
aaiaaavlpc
aaigaavlpc
raigaavlpc
raigaahlpc
raigathlpc
rafgathlpc
rcfgathlpc
rcfgalhlpc
rcfgdlhlpc
wcfgdlhlpc
wcfgdlhhpc
wkfgdlhhpc
wkmgdlhhpc
wkmgdlhhpb
wvmgdlhhpb
wvmgvlhhpb
wvmgvthhpb
wvmgvthhnb
wvmgvohhnb
wvmgvoghnb
gvm...

result:

ok good solution