Update description.md
This commit is contained in:
parent
0e1c4a87c1
commit
b3549c94d6
1 changed files with 5 additions and 4 deletions
|
@ -4,11 +4,11 @@ Input: the integer, N (1<=N<=2^1024)
|
||||||
|
|
||||||
Output: the number of ways you can place red-colored books and blue-colored books onto the bookshelf. Since this number might be really big, output it mod 10^9+7.
|
Output: the number of ways you can place red-colored books and blue-colored books onto the bookshelf. Since this number might be really big, output it mod 10^9+7.
|
||||||
|
|
||||||
Ex: N=3
|
Example:
|
||||||
|
|
||||||
|
|
||||||
Input: 3
|
Input: 3
|
||||||
|
|
||||||
|
Your valid bookshelf layouts are:
|
||||||
|
```
|
||||||
BB
|
BB
|
||||||
BB
|
BB
|
||||||
|
|
||||||
|
@ -29,5 +29,6 @@ BR
|
||||||
|
|
||||||
BR
|
BR
|
||||||
RB
|
RB
|
||||||
|
```
|
||||||
|
Therefore,
|
||||||
Output: 7
|
Output: 7
|
||||||
|
|
Loading…
Reference in a new issue