auto commit

This commit is contained in:
CyC2018
2021-03-23 02:48:19 +08:00
parent 6027156d73
commit 156f7a67f4
15 changed files with 98 additions and 70 deletions

View File

@ -2,7 +2,7 @@
## 题目链接
[NowCoder](https://www.nowcoder.com/practice/72a5a919508a4251859fb2cfb987a0e6?tpId=13&tqId=11163&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking&from=cyc_github)
[牛客网](https://www.nowcoder.com/practice/72a5a919508a4251859fb2cfb987a0e6?tpId=13&tqId=11163&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking&from=cyc_github)
## 题目描述
@ -27,7 +27,7 @@
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/508c6e52-9f93-44ed-b6b9-e69050e14807.jpg" width="370px"> </div><br>
```java
public int RectCover(int n) {
public int rectCover(int n) {
if (n <= 2)
return n;
int pre2 = 1, pre1 = 2;