QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120916#4327. ŠeširiDianasDog#62 2122ms6196kbC++142.1kb2023-07-07 12:37:122024-07-04 00:28:29

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 0ms
memory: 5636kb

input:

4

output:

BCCCCBCC
BCBBCCCC
CBCCBBBC
CCBBBBBC

result:

ok good plan!

Subtask #2:

score: 7
Accepted

Test #2:

score: 7
Accepted
time: 5ms
memory: 5588kb

input:

5

output:

CBCCCCBBBCBCBBCC
BBBBCBCCCBCCBBBC
BCCBBCCBBCBBCCCC
BCBBCBCCBBCCBBBC
CBBCCCBBCCCCCBCC

result:

ok good plan!

Subtask #3:

score: 7
Accepted

Test #3:

score: 7
Accepted
time: 2ms
memory: 5600kb

input:

6

output:

CBCBBBCBCBBCBCCCCBCCBBCBBCBBBBBC
CCBBCCCCCCBCCCBBBCBBCBBBBCBCCBCC
CCBCCBBCCBCCCBBCBCBBBBBCCBCBBCBC
BBCBBBCBBBBBBBCCCBBBCCCBBCBCCBCB
BCBCCCBBCCCCBBCCCBBCCBCCCCCBCCBB
BBCBBCCCBBBCBBCBCCCCBCBBBCCCBBCB

result:

ok good plan!

Subtask #4:

score: 7
Accepted

Test #4:

score: 7
Accepted
time: 8ms
memory: 5600kb

input:

7

output:

CCCCBCBBCCCBCBBCBBCBCCBBBCBCCBCCBCCBCCCCBCCCCCBBBCCCBBBCBBCBBBCC
BBCCBCCCBCBCCCCBCCCBCCCBCBCBBCBBCBBCBCBBCBBBBBCBCBBCBCBCCCCCCCBC
CCCCBCBBBBCCBBCCBCBCBBBCCCCBBBCCCCBBCCBCBBCCBBCCCCBBCCBBCCBBBBCC
BBBBCBCCCCBCBBBCCBCCBCBBBBBCCCBBBCCBCBCBCCBCCCBBBBCBCBCCBBBBCCCC
CBBBBCBBCBCCCCCBCBCBBBBCBBCBCCBCCBCCBCBC...

result:

ok good plan!

Subtask #5:

score: 7
Accepted

Test #5:

score: 7
Accepted
time: 6ms
memory: 5832kb

input:

8

output:

CBBCCBCCBBCCBBCBCBCCCBBBBCBBCBCCBBBCBCCCCBCCBBCBCCCBBBCBCCBCBBCBCBCCBBCBCCCCBCBCCCBBCCCBCBCCBCCBBBCBBBBCBBCBCBBCBBBBCBBBCBBCCCCC
CBBCCCBBCBBCCCCCCBCBBCCCCCBCBCBCCCCBCBBBBBCBCCBBBBBBCBCBCBCCCCBCBBBBBCCCCCBCCCBCBCBBBCBBBCCCCBCCCCBCCBBBCBBCBCBBBBBCBCBBCCCCCBCC
CCCBBBBBCCCBBBBBBBBCBCCBBCCCCCBBCBBCBCCCBC...

result:

ok good plan!

Subtask #6:

score: 7
Accepted

Test #6:

score: 7
Accepted
time: 166ms
memory: 5712kb

input:

9

output:

BBBBCCBBCBCBBCCBCCBCBBBBCBCBCCBBBBCBBCBCBBBBBBCCCBCCCCCBCCCBBBCBCCBCBBCCBCCBCCBCCBBCCBCBBBBCBCCCBCBCBBBCBBCCBBCCCBBBBCCCCCBCCCBBBBCBCCBCCCCBBCCCCCCCBBBBCBCCCCCCCCBCCCBBCBCCCCBCBBBCBBBCCBBBBBBBBCBCBBBBCCCBBCCBBBBBBBBCCCCBCBCBBBBBCBCCCBCCBBCCCBBBBBBBCCCCCCCC
BBCBBCCCCCBBCCBBBBBBCBCCBCBCCCCBCCBCBCCCBCC...

result:

ok good plan!

Subtask #7:

score: 7
Accepted

Test #7:

score: 7
Accepted
time: 54ms
memory: 5848kb

input:

10

output:

BCBCCCBBBCBCCCBBBCBCCCCBBCBBBCCCCBCCBBCCBCCCBCBBCCBBCBBCCCCBCBCCBBCBCBBCCCCCCBBBBCBCCBBBCBBCCCBBBBCBBBBCCCBBBBCBCCBBCCCBCBCCCCCBCCBBBBCBBCCCBBBCBCBCBBCCBBBBBBCCBBBBCBCCCCBBBCCBCBCBCCCBBBBCBCBCCBCBBBCBCBCBBBBBBBCBCBCBCCBBCCBCBBBCCBCCBCBBBBBBCCBCCCBCBCCBCCBCBCCBBBBCCBCBBCCCBCBCBCBBCBBCBBBCBBCBBBBBBBCC...

result:

ok good plan!

Subtask #8:

score: 0
Time Limit Exceeded

Test #8:

score: 0
Time Limit Exceeded

input:

11

output:

CCCCBCCBBBBCBBBBCCCCCCBCCBCBCCCBBBBCBCBCCCBCBBCBBBBBBCCCBCBCBBBBBCBCBBBBBCCBBCBCBBCBCBBBBCBBCBCCBCCCBBBCBBCCCCBCBBBBBCCCBBBBBCBBCBBCBBCBCBCCCBCCCBBCBCBBBBCBCCCCBCBBCCCCBCCCBBCBCBCBBBBBCCCBCCCBBCBBCCCCCCCBBCBBCCCBBCCBCCCCBCCBCBBBBCCCCCCBBCCBBBBCBBCBCCCCBCBBBCCCBCBCCCCBCBCCCCCCBCBCBBBCCCBBCBCCCCBBCBCC...

result:


Subtask #9:

score: 7
Accepted

Test #9:

score: 7
Accepted
time: 297ms
memory: 5696kb

input:

12

output:

BCBCBBCCBBBBBBCBCCCBBCCCCBBCBBCCBBBCCCBCBCBCBBBCBBCCBBBCBBCCCCCBCBCCBCBCBCCCCCCBBCCBBBCCCBBCBBBCCBCBCBBCCCBBCCCBBCBCBBBCBCBCCBBCCCCCBCBBCBBBCCBBCCCBCBCBBBBBBCBBBCBCBBCCCCBCCCCBBBBCCBBCBBCCBBCBCCBBCBBBCCCBBCCBBBBBCBCBBCCBCCCCCBBCCBBBBCCBBBBBBBCCBBCCCBCCCBBBCBBCBBBBCCBBBBCCBCBBBCBCCCBBCCCCBCBBCCBCBBCC...

result:

ok good plan!

Subtask #10:

score: 0
Time Limit Exceeded

Test #10:

score: 0
Time Limit Exceeded

input:

13

output:


result:


Subtask #11:

score: 6
Accepted

Test #11:

score: 6
Accepted
time: 2122ms
memory: 6196kb

input:

14

output:

BCCCBCBCBBCCCCCCBBBCBCCCCCCCBBBBBBCCCCCBBBCBCBCCCCBCBBBBBBCBBCCBCBBBCCCBCCBBCBBBBBBBBBCBBBBCBBBBCBBBCBCBCBCCBCCBCBCBCBCBCCCBCBCCCCCCCBCCBBCCBCBCCBCCCBBBCCBBBCCBBCCBBCBBCBBBCBCBBBBCBBCCCBBCCBBBBBCBCCBCCCBBCBCBCBBBBBCCBBBCBCBCCCCCCCCBBBBCCBCCCBCBCCBBCCBCBBBCBCBCBBBCBCBCBBBCCBBBBCBCBBBBCBBBBCCCBCCBBBBB...

result:

ok good plan!

Subtask #12:

score: 0
Time Limit Exceeded

Test #12:

score: 0
Time Limit Exceeded

input:

15

output:


result:


Subtask #13:

score: 0
Time Limit Exceeded

Test #13:

score: 0
Time Limit Exceeded

input:

16

output:


result:


Subtask #14:

score: 0
Time Limit Exceeded

Test #14:

score: 0
Time Limit Exceeded

input:

17

output:


result:


Subtask #15:

score: 0
Time Limit Exceeded

Test #15:

score: 0
Time Limit Exceeded

input:

18

output:


result: