蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int dight[6]; bool judge(int …… 题解列表 2024年03月02日 0 点赞 0 评论 335 浏览 评分:0.0
C语言-新手-写的太复杂了 摘要:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int Pn(int num){ int k=1; for(int i=1;…… 题解列表 2024年03月04日 0 点赞 0 评论 477 浏览 评分:0.0
思路清晰,简单明了 摘要:要求1.输入限制100){ sum = sum+temp%10; temp/=10; //优化3 …… 题解列表 2024年03月09日 0 点赞 0 评论 527 浏览 评分:0.0
蓝桥杯历届试题-回文数字,包看懂解法 摘要:#include"bits/stdc++.h" using namespace std; int main() { int a,b=0,c,d,e,f,g,h; cin>>a;…… 题解列表 2024年11月07日 0 点赞 0 评论 452 浏览 评分:0.0
题解 1434: 蓝桥杯历届试题-回文数字(最简单易懂) 摘要:解题思路:将数字转换为字符串,顺序和逆序遍历字符串的每一位判断是否相等,若每一位都相等则为回文数。并使用found标记有没有找到满足条件的数字参考代码:x=int(input(…… 题解列表 2025年02月23日 4 点赞 0 评论 665 浏览 评分:0.0
: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<set>using namespace std;int main(){ int n; set…… 题解列表 2025年03月10日 1 点赞 0 评论 471 浏览 评分:0.0
回文数字-将数字转换为字符串进行比较 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <cmath>using namespace…… 题解列表 2025年04月06日 0 点赞 0 评论 344 浏览 评分:0.0
蓝桥杯2012以前历届试题-回文数字 摘要:解题思路:12321。这个数本来是从左往右的,将这个数通过取余从右往左拼成新数,一样就是回文数。例:1335321 拼成了 1235331如果 1335331 拼成 1335331注意事项:参考代码:…… 题解列表 2026年03月02日 0 点赞 0 评论 89 浏览 评分:0.0