1161: 回文数(高精度) 摘要:解题思路: 高精度求和注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e3 + 10; int a[N],b[N…… 题解列表 2024年09月01日 0 点赞 0 评论 136 浏览 评分:9.9
1161回文数(二)(利用数组模拟加法) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N, M, arr[50] = { 0 }, brr[50] …… 题解列表 2024年07月09日 0 点赞 0 评论 76 浏览 评分:0.0
1161: 回文数(二) 摘要:```cpp #include #include using namespace std; void Reverse(char num1[30],char num2[30]); bool C…… 题解列表 2022年11月12日 0 点赞 0 评论 199 浏览 评分:6.0
优质题解 回文数(二)普通C++写法,分模块讲解 摘要:解题思路:根据题意我们知道实现程序的话,主要是下面函数的循环:定义cot = 0,cot是用来记录循环次数 由于(0<=M<=maxlongint)较大,我们使用数组进行储存数据,防止数据过大溢出 …… 题解列表 2022年05月24日 0 点赞 0 评论 811 浏览 评分:7.7
回文数(二) (C语言) 简单易懂 摘要: #include #include #include #define N 100 void char_to_short(char str[],short…… 题解列表 2021年12月21日 0 点赞 0 评论 382 浏览 评分:0.0
C++利用原始方法实现不同进制回文 摘要:```cpp #include #include using namespace std; void Reverse(char num1[30],char num2[30]); bool …… 题解列表 2021年05月08日 0 点赞 0 评论 327 浏览 评分:9.0
回文数 ---简单代码搞定 摘要:首先,说明一下,此题有会有step=0的情况出现,我看好多题解都没有这个情况,所以特此来写一写题解。其次,此题需要考虑10进制以上的进制输入情况有字母,就必须用字符串数组进行。之前因为没考虑到这个老是…… 题解列表 2021年04月07日 0 点赞 0 评论 546 浏览 评分:9.0
回文数(二)-STL map处理解法(C++代码) 摘要:解题思路:明白十进制的加法:逢十进一, 借一当十,其他进制数类似;注意事项:在10进制以上的进制数,有这样的对应关系:10-A,11-B,12-C,13-D,14-E,15-F,我们可以用map来进行…… 题解列表 2020年10月20日 0 点赞 0 评论 491 浏览 评分:8.7
回文数(二)-题解(C++代码) 摘要:```cpp #include void AintoB(int *A,int *B,int &length); void intoA(int *A,int jinzhi,int shuzi, i…… 题解列表 2020年08月28日 0 点赞 0 评论 362 浏览 评分:6.7
【回文数(二)】 (C++代码) ###分模块化,简洁清晰 摘要:分模块化,简洁清晰 ------------ #include #include using namespace std; …… 题解列表 2020年02月12日 0 点赞 0 评论 433 浏览 评分:0.0