QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#617900#6602. Journey to Un'GoroZhangYiDeWA 1ms4672kbC++2028.1kb2024-10-06 17:35:412024-10-06 17:35:41

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4460kb

input:

1

output:

1
r

result:

ok 2 tokens

Test #2:

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

input:

2

output:

2
br
rb
rr

result:

ok 4 tokens

Test #3:

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

input:

3

output:

4
brb
rbr
rrr

result:

ok 4 tokens

Test #4:

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

input:

4

output:

6
bbrb
brbb
brbr
brrr
rbbr
rbrb
rbrr
rrbr
rrrb
rrrr

result:

ok 11 tokens

Test #5:

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

input:

5

output:

9
bbrbb
brbbr
brbrr
brrrb
rbbrb
rbrbr
rbrrr
rrbrb
rrrbr
rrrrr

result:

ok 11 tokens

Test #6:

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

input:

6

output:

12
bbbrbb
bbrbbb
bbrbbr
bbrbrr
bbrrrb
brbbbr
brbbrb
brbbrr
brbrbr
brbrrb
brbrrr
brrbrb
brrrbb
brrrbr
brrrrr
rbbbrb
rbbrbb
rbbrbr
rbbrrr
rbrbbr
rbrbrb
rbrbrr
rbrrbr
rbrrrb
rbrrrr
rrbbrb
rrbrbb
rrbrbr
rrbrrr
rrrbbr
rrrbrb
rrrbrr
rrrrbr
rrrrrb
rrrrrr

result:

ok 36 tokens

Test #7:

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

input:

7

output:

16
bbbrbbb
bbrbbbr
bbrbbrr
bbrbrrb
bbrrrbb
brbbbrb
brbbrbr
brbbrrr
brbrbrb
brbrrbr
brbrrrr
brrbrbb
brrrbbr
brrrbrr
brrrrrb
rbbbrbb
rbbrbbr
rbbrbrr
rbbrrrb
rbrbbrb
rbrbrbr
rbrbrrr
rbrrbrb
rbrrrbr
rbrrrrr
rrbbrbb
rrbrbbr
rrbrbrr
rrbrrrb
rrrbbrb
rrrbrbr
rrrbrrr
rrrrbrb
rrrrrbr
rrrrrrr

result:

ok 36 tokens

Test #8:

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

input:

8

output:

20
bbbbrbbb
bbbrbbbb
bbbrbbbr
bbbrbbrr
bbbrbrrb
bbbrrrbb
bbrbbbbr
bbrbbbrb
bbrbbbrr
bbrbbrbr
bbrbbrrb
bbrbbrrr
bbrbrbrb
bbrbrrbb
bbrbrrbr
bbrbrrrr
bbrrbrbb
bbrrrbbb
bbrrrbbr
bbrrrbrr
bbrrrrrb
brbbbbrb
brbbbrbb
brbbbrbr
brbbbrrr
brbbrbbr
brbbrbrb
brbbrbrr
brbbrrbr
brbbrrrb
brbbrrrr
brbrbbrb
brbrbrbb
...

result:

ok 101 tokens

Test #9:

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

input:

9

output:

25
bbbbrbbbb
bbbrbbbbr
bbbrbbbrr
bbbrbbrrb
bbbrbrrbb
bbbrrrbbb
bbrbbbbrb
bbrbbbrbr
bbrbbbrrr
bbrbbrbrb
bbrbbrrbr
bbrbbrrrr
bbrbrbrbb
bbrbrrbbr
bbrbrrbrr
bbrbrrrrb
bbrrbrbbb
bbrrrbbbr
bbrrrbbrr
bbrrrbrrb
bbrrrrrbb
brbbbbrbb
brbbbrbbr
brbbbrbrr
brbbbrrrb
brbbrbbrb
brbbrbrbr
brbbrbrrr
brbbrrbrb
brbbrrr...

result:

ok 101 tokens

Test #10:

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

input:

10

output:

30
bbbbbrbbbb
bbbbrbbbbb
bbbbrbbbbr
bbbbrbbbrr
bbbbrbbrrb
bbbbrbrrbb
bbbbrrrbbb
bbbrbbbbbr
bbbrbbbbrb
bbbrbbbbrr
bbbrbbbrbr
bbbrbbbrrb
bbbrbbbrrr
bbbrbbrbrb
bbbrbbrrbb
bbbrbbrrbr
bbbrbbrrrr
bbbrbrbrbb
bbbrbrrbbb
bbbrbrrbbr
bbbrbrrbrr
bbbrbrrrrb
bbbrrbrbbb
bbbrrrbbbb
bbbrrrbbbr
bbbrrrbbrr
bbbrrrbrrb
...

result:

ok 101 tokens

Test #11:

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

input:

11

output:

36
bbbbbrbbbbb
bbbbrbbbbbr
bbbbrbbbbrr
bbbbrbbbrrb
bbbbrbbrrbb
bbbbrbrrbbb
bbbbrrrbbbb
bbbrbbbbbrb
bbbrbbbbrbr
bbbrbbbbrrr
bbbrbbbrbrb
bbbrbbbrrbr
bbbrbbbrrrr
bbbrbbrbrbb
bbbrbbrrbbr
bbbrbbrrbrr
bbbrbbrrrrb
bbbrbrbrbbb
bbbrbrrbbbr
bbbrbrrbbrr
bbbrbrrbrrb
bbbrbrrrrbb
bbbrrbrbbbb
bbbrrrbbbbr
bbbrrrbbb...

result:

ok 101 tokens

Test #12:

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

input:

12

output:

42
bbbbbbrbbbbb
bbbbbrbbbbbb
bbbbbrbbbbbr
bbbbbrbbbbrr
bbbbbrbbbrrb
bbbbbrbbrrbb
bbbbbrbrrbbb
bbbbbrrrbbbb
bbbbrbbbbbbr
bbbbrbbbbbrb
bbbbrbbbbbrr
bbbbrbbbbrbr
bbbbrbbbbrrb
bbbbrbbbbrrr
bbbbrbbbrbrb
bbbbrbbbrrbb
bbbbrbbbrrbr
bbbbrbbbrrrr
bbbbrbbrbrbb
bbbbrbbrrbbb
bbbbrbbrrbbr
bbbbrbbrrbrr
bbbbrbbrrrr...

result:

ok 101 tokens

Test #13:

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

input:

13

output:

49
bbbbbbrbbbbbb
bbbbbrbbbbbbr
bbbbbrbbbbbrr
bbbbbrbbbbrrb
bbbbbrbbbrrbb
bbbbbrbbrrbbb
bbbbbrbrrbbbb
bbbbbrrrbbbbb
bbbbrbbbbbbrb
bbbbrbbbbbrbr
bbbbrbbbbbrrr
bbbbrbbbbrbrb
bbbbrbbbbrrbr
bbbbrbbbbrrrr
bbbbrbbbrbrbb
bbbbrbbbrrbbr
bbbbrbbbrrbrr
bbbbrbbbrrrrb
bbbbrbbrbrbbb
bbbbrbbrrbbbr
bbbbrbbrrbbrr
bbb...

result:

ok 101 tokens

Test #14:

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

input:

14

output:

56
bbbbbbbrbbbbbb
bbbbbbrbbbbbbb
bbbbbbrbbbbbbr
bbbbbbrbbbbbrr
bbbbbbrbbbbrrb
bbbbbbrbbbrrbb
bbbbbbrbbrrbbb
bbbbbbrbrrbbbb
bbbbbbrrrbbbbb
bbbbbrbbbbbbbr
bbbbbrbbbbbbrb
bbbbbrbbbbbbrr
bbbbbrbbbbbrbr
bbbbbrbbbbbrrb
bbbbbrbbbbbrrr
bbbbbrbbbbrbrb
bbbbbrbbbbrrbb
bbbbbrbbbbrrbr
bbbbbrbbbbrrrr
bbbbbrbbbrbr...

result:

ok 101 tokens

Test #15:

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

input:

15

output:

64
bbbbbbbrbbbbbbb
bbbbbbrbbbbbbbr
bbbbbbrbbbbbbrr
bbbbbbrbbbbbrrb
bbbbbbrbbbbrrbb
bbbbbbrbbbrrbbb
bbbbbbrbbrrbbbb
bbbbbbrbrrbbbbb
bbbbbbrrrbbbbbb
bbbbbrbbbbbbbrb
bbbbbrbbbbbbrbr
bbbbbrbbbbbbrrr
bbbbbrbbbbbrbrb
bbbbbrbbbbbrrbr
bbbbbrbbbbbrrrr
bbbbbrbbbbrbrbb
bbbbbrbbbbrrbbr
bbbbbrbbbbrrbrr
bbbbbrbbb...

result:

ok 101 tokens

Test #16:

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

input:

16

output:

72
bbbbbbbbrbbbbbbb
bbbbbbbrbbbbbbbb
bbbbbbbrbbbbbbbr
bbbbbbbrbbbbbbrr
bbbbbbbrbbbbbrrb
bbbbbbbrbbbbrrbb
bbbbbbbrbbbrrbbb
bbbbbbbrbbrrbbbb
bbbbbbbrbrrbbbbb
bbbbbbbrrrbbbbbb
bbbbbbrbbbbbbbbr
bbbbbbrbbbbbbbrb
bbbbbbrbbbbbbbrr
bbbbbbrbbbbbbrbr
bbbbbbrbbbbbbrrb
bbbbbbrbbbbbbrrr
bbbbbbrbbbbbrbrb
bbbbbbrb...

result:

ok 101 tokens

Test #17:

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

input:

17

output:

81
bbbbbbbbrbbbbbbbb
bbbbbbbrbbbbbbbbr
bbbbbbbrbbbbbbbrr
bbbbbbbrbbbbbbrrb
bbbbbbbrbbbbbrrbb
bbbbbbbrbbbbrrbbb
bbbbbbbrbbbrrbbbb
bbbbbbbrbbrrbbbbb
bbbbbbbrbrrbbbbbb
bbbbbbbrrrbbbbbbb
bbbbbbrbbbbbbbbrb
bbbbbbrbbbbbbbrbr
bbbbbbrbbbbbbbrrr
bbbbbbrbbbbbbrbrb
bbbbbbrbbbbbbrrbr
bbbbbbrbbbbbbrrrr
bbbbbbrbb...

result:

ok 101 tokens

Test #18:

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

input:

18

output:

90
bbbbbbbbbrbbbbbbbb
bbbbbbbbrbbbbbbbbb
bbbbbbbbrbbbbbbbbr
bbbbbbbbrbbbbbbbrr
bbbbbbbbrbbbbbbrrb
bbbbbbbbrbbbbbrrbb
bbbbbbbbrbbbbrrbbb
bbbbbbbbrbbbrrbbbb
bbbbbbbbrbbrrbbbbb
bbbbbbbbrbrrbbbbbb
bbbbbbbbrrrbbbbbbb
bbbbbbbrbbbbbbbbbr
bbbbbbbrbbbbbbbbrb
bbbbbbbrbbbbbbbbrr
bbbbbbbrbbbbbbbrbr
bbbbbbbrbbbb...

result:

ok 101 tokens

Test #19:

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

input:

19

output:

100
bbbbbbbbbrbbbbbbbbb
bbbbbbbbrbbbbbbbbbr
bbbbbbbbrbbbbbbbbrr
bbbbbbbbrbbbbbbbrrb
bbbbbbbbrbbbbbbrrbb
bbbbbbbbrbbbbbrrbbb
bbbbbbbbrbbbbrrbbbb
bbbbbbbbrbbbrrbbbbb
bbbbbbbbrbbrrbbbbbb
bbbbbbbbrbrrbbbbbbb
bbbbbbbbrrrbbbbbbbb
bbbbbbbrbbbbbbbbbrb
bbbbbbbrbbbbbbbbrbr
bbbbbbbrbbbbbbbbrrr
bbbbbbbrbbbbbbbr...

result:

ok 101 tokens

Test #20:

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

input:

20

output:

110
bbbbbbbbbbrbbbbbbbbb
bbbbbbbbbrbbbbbbbbbb
bbbbbbbbbrbbbbbbbbbr
bbbbbbbbbrbbbbbbbbrr
bbbbbbbbbrbbbbbbbrrb
bbbbbbbbbrbbbbbbrrbb
bbbbbbbbbrbbbbbrrbbb
bbbbbbbbbrbbbbrrbbbb
bbbbbbbbbrbbbrrbbbbb
bbbbbbbbbrbbrrbbbbbb
bbbbbbbbbrbrrbbbbbbb
bbbbbbbbbrrrbbbbbbbb
bbbbbbbbrbbbbbbbbbbr
bbbbbbbbrbbbbbbbbbrb
bb...

result:

ok 101 tokens

Test #21:

score: -100
Wrong Answer
time: 1ms
memory: 4672kb

input:

50

output:

650
bbbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbbr
bbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbrr
bbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbrrb
bbbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbb...

result:

wrong answer 29th words differ - expected: 'bbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbbbr', found: 'bbbbbbbbbbbbbbbbbbbbbbbrbbbbbbbbbbbbbbbbbbbbbbbbrb'