提交 9e582950 编写于 作者: ToTensor's avatar ToTensor

增加三题提示

上级 11a673f5
...@@ -52,6 +52,16 @@ int main() ...@@ -52,6 +52,16 @@ int main()
} }
``` ```
提示:
```json
0的平方为0
1的平方为1
5的平方为5
6的平方为6
以上这4个数字都不能作为原数字的最后一位,可以在最后一位排除
且第一位不能为0
```
## 答案 ## 答案
......
...@@ -118,6 +118,13 @@ int main() ...@@ -118,6 +118,13 @@ int main()
} }
``` ```
提示:
```json
二分法降低时间复杂度
用打表空间换时间
```
## 答案 ## 答案
......
...@@ -28,6 +28,12 @@ int main() ...@@ -28,6 +28,12 @@ int main()
} }
``` ```
提示:
```json
利用循环将当前数字的每一位求出,分别进行判断即可
```
## 答案 ## 答案
```c ```c
......
...@@ -48,17 +48,17 @@ ...@@ -48,17 +48,17 @@
} }
}, },
{ {
"大数乘法": { "门牌制作": {
"node_id": "algorithm-854c7c9357bf408da0f7d370cfee9684", "node_id": "algorithm-b7a24f3dc0894922b58174677d4a1e4a",
"keywords": [ "keywords": [
"蓝桥杯", "蓝桥杯",
"大数乘法" "门牌制作"
], ],
"children": [], "children": [],
"keywords_must": [ "keywords_must": [
[ [
"蓝桥杯", "蓝桥杯",
"大数乘法" "门牌制作"
] ]
], ],
"keywords_forbid": [] "keywords_forbid": []
...@@ -303,17 +303,17 @@ ...@@ -303,17 +303,17 @@
} }
}, },
{ {
"门牌制作": { "大数乘法": {
"node_id": "algorithm-b7a24f3dc0894922b58174677d4a1e4a", "node_id": "algorithm-854c7c9357bf408da0f7d370cfee9684",
"keywords": [ "keywords": [
"蓝桥杯", "蓝桥杯",
"门牌制作" "大数乘法"
], ],
"children": [], "children": [],
"keywords_must": [ "keywords_must": [
[ [
"蓝桥杯", "蓝桥杯",
"门牌制作" "大数乘法"
] ]
], ],
"keywords_forbid": [] "keywords_forbid": []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册