1434: 蓝桥杯历届试题-回文数字 摘要: #include #include #include #include #include #include #include …… 题解列表 2023年03月15日 0 点赞 0 评论 239 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int isHui(int n) { int m=0,tmp=n; wh…… 题解列表 2023年03月20日 0 点赞 0 评论 101 浏览 评分:0.0
五位、六位回文数 摘要:n=int(input()) s=[] for i in range(1,10): for j in range(0,10): for k in range(0,10)…… 题解列表 2023年03月24日 1 点赞 0 评论 117 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool huiwen(int x,int g){ int y=0,sum=0; int t=…… 题解列表 2023年03月29日 0 点赞 0 评论 134 浏览 评分:0.0
蓝桥杯回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f(int n){ int sum=0; while(n>0){ sum+…… 题解列表 2023年04月04日 0 点赞 0 评论 161 浏览 评分:0.0
题目 1434: 蓝桥杯历届试题-回文数字题解 摘要:1.解题思路先把每个从10000~999999的数都查一遍,输出和为n且是回文数的。确定回文数的方法:有一个数,例如t=i=1331,把末位放到num的末尾,当t小于1时停止。(1331,0)->(1…… 题解列表 2023年07月02日 0 点赞 0 评论 175 浏览 评分:0.0
c代码记录之回文数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun5(int m){ int i,j,k,t=0; for(i=1;i<=9;i++) …… 题解列表 2023年11月22日 0 点赞 0 评论 147 浏览 评分:0.0
蓝桥杯历届试题-回文数字-纯暴力(Java) 摘要:# 解题思路: 对每一个数的每个位的总值是否与输入的值相同 并且对两个sb对象进行判断,完全相同就是回文数字 ## 注意事项: i的值不能直接参加运算,否则会影响后续的循环 …… 题解列表 2024年01月07日 0 点赞 0 评论 120 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:这个题容易一上来就将所有的五位和六位数循环一遍.但是这样不能得到满分,最多85. 这个方式称为暴力解法: ```python n = int(input()) for i in range(1…… 题解列表 2024年01月10日 0 点赞 0 评论 188 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int dight[6]; bool judge(int …… 题解列表 2024年03月02日 0 点赞 0 评论 177 浏览 评分:0.0