QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120924#4327. ŠeširiDianasDog#69 2444ms8076kbC++142.4kb2023-07-07 12:41:262024-07-04 00:28:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 1ms
memory: 5604kb

input:

4

output:

BCCCCBCC
BCBBCCCC
CBCCBBBC
CCBBBBBC

result:

ok good plan!

Subtask #2:

score: 7
Accepted

Test #2:

score: 7
Accepted
time: 31ms
memory: 7728kb

input:

5

output:

BCCBBCBBBBCCCBCC
CCBCBBBCCCBBCCBC
BBBBCCBBCBCCCBCC
CBCCCCCCBCBBCCBC
BCCCBCBBBBBCBBCC

result:

ok good plan!

Subtask #3:

score: 7
Accepted

Test #3:

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

input:

6

output:

CBCBBBCBCBBCBCCCCBCCBBCBBCBBBBBC
CCBBCCCCCCBCCCBBBCBBCBBBBCBCCBCC
CCBCCBBCCBCCCBBCBCBBBBBCCBCBBCBC
BBCBBBCBBBBBBBCCCBBBCCCBBCBCCBCB
BCBCCCBBCCCCBBCCCBBCCBCCCCCBCCBB
BBCBBCCCBBBCBBCBCCCCBCBBBCCCBBCB

result:

ok good plan!

Subtask #4:

score: 7
Accepted

Test #4:

score: 7
Accepted
time: 56ms
memory: 7936kb

input:

7

output:

CBCCCCBBBBCBBBBBBCBCCCCCCCCCCBBBCCBBBBCBBBCCBCBBCBCCCCCCBCCCBBCC
BCCCBCCCCBBCBBCCBBBBBCBCCBBBBCCCBCCBBBCCBCCCCBBBBCBCBBBBCCCCBCBC
BBCCBCBCBCCBCCCCCBBCCCCCBCCBBCCCCCBBCBBCBBBBBBCCCBCCBBCBCBBBCBCC
BCBBBBBBCBCBBBCBBCCCBBBCBCBCCBBBCBCCCCCBBCCCBCCCCBBBCBCCBCBBBCBC
CBBBCCBCCCCCBBBBCBCBCCBCBBCBCCBBBBBCCCBC...

result:

ok good plan!

Subtask #5:

score: 7
Accepted

Test #5:

score: 7
Accepted
time: 7ms
memory: 7728kb

input:

8

output:

CBBCCBCCBBCCBBCBCBCCCBBBBCBBCBCCBBBCBCCCCBCCBBCBCCCBBBCBCCBCBBCBCBCCBBCBCCCCBCBCCCBBCCCBCBCCBCCBBBCBBBBCBBCBCBBCBBBBCBBBCBBCCCCC
CBBCCCBBCBBCCCCCCBCBBCCCCCBCBCBCCCCBCBBBBBCBCCBBBBBBCBCBCBCCCCBCBBBBBCCCCCBCCCBCBCBBBCBBBCCCCBCCCCBCCBBBCBBCBCBBBBBCBCBBCCCCCBCC
CCCBBBBBCCCBBBBBBBBCBCCBBCCCCCBBCBBCBCCCBC...

result:

ok good plan!

Subtask #6:

score: 7
Accepted

Test #6:

score: 7
Accepted
time: 341ms
memory: 7628kb

input:

9

output:

CBBBCCCCCBCCCCCCCCBCBBCCCBCBCCBBCCBBBBCBCBBBCBBCCCCCBCCBCCBCCBCBBCCCBBBBCBBBBCBBBCBBCCCCBCBBBCBBBCBBBCBBBCBCCCCCCBCCBBBBBCBBCBCCBCBBCBCCBCCCCBBBBBBCCCCBBBBCCCBCBBBBBBCCCBCBCCBBBCCCCBCBBBBCBBCCCCBBCCCCCBBBCCBCCCBBBBCBBCBCCBCBBCBBBCBBBCCCBBCBCCBCCBBBCBCCBBCC
BCCCBBBCBBCBCBBBBBCCCBCCBBCCBCCBBBBCCCBBBBB...

result:

ok good plan!

Subtask #7:

score: 7
Accepted

Test #7:

score: 7
Accepted
time: 53ms
memory: 7632kb

input:

10

output:

BCBCCCBBBCBCCCBBBCBCCCCBBCBBBCCCCBCCBBCCBCCCBCBBCCBBCBBCCCCBCBCCBBCBCBBCCCCCCBBBBCBCCBBBCBBCCCBBBBCBBBBCCCBBBBCBCCBBCCCBCBCCCCCBCCBBBBCBBCCCBBBCBCBCBBCCBBBBBBCCBBBBCBCCCCBBBCCBCBCBCCCBBBBCBCBCCBCBBBCBCBCBBBBBBBCBCBCBCCBBCCBCBBBCCBCCBCBBBBBBCCBCCCBCBCCBCCBCBCCBBBBCCBCBBCCCBCBCBCBBCBBCBBBCBBCBBBBBBBCC...

result:

ok good plan!

Subtask #8:

score: 7
Accepted

Test #8:

score: 7
Accepted
time: 2444ms
memory: 7632kb

input:

11

output:

CBCCBCBCCBCBBCBCBBCCBCBCBCCCCBCCCCCBBBCCCBCBBBBCCCCCBCBCCBBCCBBCBBBCCBCCCBBCBCBCCCCBCCBCCCCCBBCBBCBBCCBBCCBCCCBCBCBBBCCBBCBBBCCBCBBCBBCCCCBCBCBBBCCBCCBCBBBBCBBBCCBCCBCCBCCCCBBBBCBCBBBBCBBCBCBCCBBCBCCBCBCBCBBBCBCBCCCCBCBCCBBCCCCCBCCCCBCBCCBBBCCBCCCCBCCBCCCBBBCBCBBCBBCBBBBBBBBCBCCCBCBCBBBBCBBBBCCCCCCB...

result:

ok good plan!

Subtask #9:

score: 7
Accepted

Test #9:

score: 7
Accepted
time: 292ms
memory: 8016kb

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: 2076ms
memory: 8076kb

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: