c++最简单方法—递归 摘要:解题思路:每次刷新需要判断回文的数,进入下次递归进行判断注意事项:输出一次res就要给他重新刷新为0参考代码:#include<iostream>using namespace std;int re…… 题解列表 2023年10月23日 0 点赞 0 评论 354 浏览 评分:0.0
所有代码中唯一没有用while的 摘要:```python def hs(q): p=0 for i in range(10): if p>=9: return(0) …… 题解列表 2024年08月01日 0 点赞 0 评论 382 浏览 评分:0.0
高精度回文数 摘要:解题思路:判断是否为字符串是否为回文数其实就是将该字符串反转比较是否相同就行,还有就是高精度的加法运算要会```cpp#include #include #include …… 题解列表 2025年01月15日 0 点赞 0 评论 243 浏览 评分:0.0
用字符串存储方便反转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int init(string s){ int x = 0; while…… 题解列表 2025年02月22日 0 点赞 0 评论 269 浏览 评分:0.0