QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#121097#4327. Šeširiznstz100 ✓572ms485680kbC++142.6kb2023-07-07 15:45:062023-07-07 15:45:08

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

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

input:

4

output:

BBCBBCBB
CCBCCBCC
BBCBBCBB
CCBCCBCC

result:

ok good plan!

Subtask #2:

score: 7
Accepted

Test #2:

score: 7
Accepted
time: 4ms
memory: 74268kb

input:

5

output:

BCBBCCBCBBCBBCBB
CBCCBBCBCCBCCBCC
BCBBCCBCBBCBBBCB
CBCCBBCBCCBCCCBC
BCBBCBBCBBBBBBCB

result:

ok good plan!

Subtask #3:

score: 7
Accepted

Test #3:

score: 7
Accepted
time: 4ms
memory: 75200kb

input:

6

output:

BBCBBCBBCBBCBBCBBCCBCBBCBBBBBCBB
CCBCCBCCBCCBCCBCCBBCBCCBCCCCCBCC
BBCBBCBBCBBCBBCBBCCBCCBCBBCBBCBB
CCBCCBCCBCBBCCBCCBCCBCBBCCBCCBCC
BBCBBCBBCBBCBBCBBCCBCBCCBBCBBCBB
CCBCCBCCBCCBCCBCCBBCBCBBCCBCCBCC

result:

ok good plan!

Subtask #4:

score: 7
Accepted

Test #4:

score: 7
Accepted
time: 14ms
memory: 73572kb

input:

7

output:

BCBBCCBCBBBBBCBBCCCBBBCCBBBBBCBCBBBCBCBBCCCBCBCBBCBBBBBCCBCBBCBB
CBCCBBCBCCCCCBCCBBBCCCBBCCCCCBCBCCCBCBCCBBBCBCBCCBCCCCCBBCBCCBCC
BCBBCCBCBBCBBCBBCCCBCBCCBBBBBCBCBBBCCCBBCCCCCBCBBBCBCCBBBBCCBBCB
CBCCBBCBCCBCCBCCBBCBBCBBCBCCCBCBCCCCCBCCBCBCBBBCCCBCBBCCCCBBCCBC
BCBBCCBCBBCBBCBBCCBCCCBCBCBBBCBCBBCBCCBB...

result:

ok good plan!

Subtask #5:

score: 7
Accepted

Test #5:

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

input:

8

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBCBBCBBBBBCCBCBBCBBBBBCBBBBBBBBBBBCBBCBBCBBBBBCBB
CCBCCBCCBCCBCCBCCBBCCCCBCCCCCBCCBCCBCBBCCBBCBCCBCCBCCBCCBCCBCCBCCBBCBCCBCCCBCBBCBCCBCCCCCBBCBCCBCCCCCBCCCCCCCCCCCBCCBCCBCCCCCBCC
BBCBBCBBCBBCBBCBBCCBCBBCBBBBBCBBCBBCBCCBCC...

result:

ok good plan!

Subtask #6:

score: 7
Accepted

Test #6:

score: 7
Accepted
time: 3ms
memory: 74964kb

input:

9

output:

BCBBCCBCBBCBBCBBCCBBBBCCBBBBBCBCBBCCCCBBBCCBCBBBBCBBBBBCCBBBBCBBCCBBBBCCBBBCBCCBBBBCBCBBBCCBBBCCBBBBBCBBBBBCBBBBBCBBBBBCBBCBBCBCBBBCBCBBCCCBCBBCBCCBCBBCCBBCBCBBCCCBCBCCCBCBCCCBCBCCBCCBCCBBCBCBBCBBBBBBCBBCBCBBCBBCCCCBBBCBBBBCBBCBBBBBCCBBCBCBBBCBCBBCBBCBBCBB
CBCCBBCBCCBCCBCCBBCCCCBBCCCCCBCBCCBBBBCCCBB...

result:

ok good plan!

Subtask #7:

score: 7
Accepted

Test #7:

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

input:

10

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBBBBCBBBBBCCBBBBCBBBBBCBBBBBBBBBBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBCCBCBBCCBBCBCCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBBCBCCBBCCB...

result:

ok good plan!

Subtask #8:

score: 7
Accepted

Test #8:

score: 7
Accepted
time: 3ms
memory: 75020kb

input:

11

output:

BCBBCCBCBBCBBCBBCCBBBBCCBBBBBCBCBBCCCCBBBCCBCBCBBCBBBBCCCBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBBBCBBBBBCBBBBCCBCBCCCBCCBBCBCBBCCCCBBBCCBCBCCBCCBCBCCCBCCCCBBBCCBCBBCCBBBBCCBBBBBBBBBBBBBCBBBBCBBBBBBCBBCBCBBCBBCBCCBBBCBBBBCBBBBBBBBBCBBCBBBBBCBCBBCBBBBBCBBCCBBBBCCCBBCBCBBBBBCBCBBBCBBBBCCBBBCBCCBBCCB...

result:

ok good plan!

Subtask #9:

score: 7
Accepted

Test #9:

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

input:

12

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBBBBCBBBBBCCBBBBCBBBBBCBBBBBBBBBBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBCCBCBBCCBBCBCCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCCBBCBCCBBBBCBCCBBCCBCBBCBBBCBCCBBCCB...

result:

ok good plan!

Subtask #10:

score: 7
Accepted

Test #10:

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

input:

13

output:

BCBBCCBCBBCBBCBBCCBBBBCCBBBBBCBCBBCCCCBBBCCBCBCBBCBBBBCCCBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBBBCBBBBBCBBBBCCBCBCCCBCCBBCBCBBCCCCBBCCCBCBCCBCCBCBCCCBCCCCBBBCCBCBCCCBCBBCCBBBCBCBBBBBBBCBCBBCBBBBCBCBBCBCBBCBCCBCCBBBCBBBCCBBBBBBBBBCBBCBBBBBCBCBCCBBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBCBCBBBCBB...

result:

ok good plan!

Subtask #11:

score: 6
Accepted

Test #11:

score: 6
Accepted
time: 18ms
memory: 93768kb

input:

14

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBBBBCBBBBBCCBBBBCBBBBBCBBBBBBBBBBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBCCBCBBCCBBCBCCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCCBBCBCCBBBBCBCCBBCCBCBBCBBBCBCCBBCCB...

result:

ok good plan!

Subtask #12:

score: 6
Accepted

Test #12:

score: 6
Accepted
time: 53ms
memory: 107332kb

input:

15

output:

BCBBCCBCBBCBBCBBCCBBBBCCBBBBBCBCBBCCCCBBBCCBCBCBBCBBBBCCCBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBBBCBBBBBCBBBBCCBCBCCCBCCBBCBCBBCCCCBBCCCBCBCCBCCBCBCCCBCCCCBBBCCBCBCCCBCBBCCBBBCBCBBBBBBBCBCBBCBBBBCBCBBCBCBBCBCCBCCBBBCBBBCCBBBBBBBBBCBBCBBBBBCBCBCCBBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBCBCBBBCBB...

result:

ok good plan!

Subtask #13:

score: 6
Accepted

Test #13:

score: 6
Accepted
time: 109ms
memory: 171264kb

input:

16

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBBBBCBBBBBCCBBBBCBBBBBCBBBBBBBBBBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBCCBCBBCCBBCBCCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCCBBCBCCBBBBCBCCBBCCBCBBCBBBCBCCBBCCB...

result:

ok good plan!

Subtask #14:

score: 6
Accepted

Test #14:

score: 6
Accepted
time: 226ms
memory: 210704kb

input:

17

output:

BCBBCCBCBBCBBCBBCCBBBBCCBBBBBCBCBBCCCCBBBCCBCBCBBCBBBBCCCBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBBBCBBBBBCBBBBCCBCBCCCBCCBBCBCBBCCCCBBCCCBCBCCBCCBCBCCCBCCCCBBBCCBCBCCCBCBBCCBBBCBCBBBBBBBCBCBBCBBBBCBCBBCBCBBCBCCBCCBBBCBBBCCBBBBBBBBBCBBCBBBBBCBCBCCBBBBBCBBCCBBBBCCBBBCBCBBBBBCBCBBBCBBBBCCBBBCBCBBBCBB...

result:

ok good plan!

Subtask #15:

score: 6
Accepted

Test #15:

score: 6
Accepted
time: 572ms
memory: 485680kb

input:

18

output:

BBCBBCBBCBBCBBCBBCCBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCBBBCBCCBBBBCBBBBBCCBBBBCBBBBBCBBBBBBBBBBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBCCBCBBCCBBCBCCBBCCBCBBCCBBCBCCBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCBBBBBCBBBBBCBBCBBCBCCBBCCBCBBCBBCBBCBBCBBCBBCBBCCBCBBCCBBCBCCBBBBCBCCBBCCBCBBCBBBCBCCBBCCB...

result:

ok good plan!

Extra Test:

score: 0
Extra Test Passed