回文数字-将数字转换为字符串进行比较 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <cmath>using namespace…… 题解列表 2025年04月06日 0 点赞 0 评论 145 浏览 评分:0.0
: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<set>using namespace std;int main(){ int n; set…… 题解列表 2025年03月10日 1 点赞 0 评论 289 浏览 评分:0.0
一直83直到我把输出-1的语句放在外面 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,count=0; cin>>n; for(int i=1…… 题解列表 2024年11月14日 1 点赞 0 评论 300 浏览 评分:9.9
蓝桥杯历届试题-回文数字,包看懂解法 摘要:#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 评论 281 浏览 评分: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
C++超简单思路 摘要:解题思路:将数字问题转换成字符串问题注意事项:注意看题目要求参考代码:#include<iostream>#include<string>#include<algorithm>#include<std…… 题解列表 2024年01月19日 0 点赞 0 评论 236 浏览 评分:9.9
字符串处理回文数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int main(){ int n; int sum=0,…… 题解列表 2023年11月25日 0 点赞 0 评论 200 浏览 评分:9.9
暴力,朴实无华 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int n;bool o;int y = 0;bool sf(int x, int w){ i…… 题解列表 2023年11月11日 0 点赞 0 评论 205 浏览 评分:9.9
暴力出奇迹 摘要:参考代码:#include<bits/stdc++.h> using namespace std; bool reversenum(int n) { string s = to_st…… 题解列表 2023年09月02日 0 点赞 0 评论 177 浏览 评分:9.9
题目 1434: 蓝桥杯历届试题-回文数字题解 摘要:1.解题思路先把每个从10000~999999的数都查一遍,输出和为n且是回文数的。确定回文数的方法:有一个数,例如t=i=1331,把末位放到num的末尾,当t小于1时停止。(1331,0)->(1…… 题解列表 2023年07月02日 0 点赞 0 评论 175 浏览 评分:0.0