蓝桥杯历届试题-回文数字 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool isReverse(int n) { …… 题解列表 2022年03月11日 0 点赞 0 评论 333 浏览 评分:9.9
简单易懂的回文数字题解(C++) 摘要:解题思路: 题前小叙:同样的,我被一处小失误,改了半个多小时的代码,就在回文数字判断那边失误的,竟然直接在参数上进行操作!!!切记需要和参数进行判断时,不能在参数上进行其…… 题解列表 2022年11月18日 0 点赞 1 评论 550 浏览 评分:9.9
1434: 蓝桥杯历届试题-回文数字(c++) 摘要:解题思路:本题要求找到一些5位或6位的回文数字,而这些回文数字都可以由3位数组合形成,这样就可以枚举100到999之间的数,而不是10001到999999。 参考代码: ```cpp #incl…… 题解列表 2022年11月16日 0 点赞 0 评论 402 浏览 评分:9.9
超详细通俗易懂C++,暴力求解 摘要:解题思路:1.分别求满足条件的五位数和六位数,利用三层循环实现。 2.最外层从1开始,因为数字第一位不能为0,i,j,p从小到大循环保证最后输出顺序是从小到大的,不需要再次…… 题解列表 2022年11月14日 0 点赞 0 评论 446 浏览 评分:9.9
直观的解决方法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; int k=0; cin>>a; for(in…… 题解列表 2022年10月16日 0 点赞 0 评论 392 浏览 评分:9.9
题目 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[7]; int n,n1; int main(){ …… 题解列表 2021年04月11日 0 点赞 0 评论 403 浏览 评分:9.9
暴力出奇迹 摘要:参考代码:#include<bits/stdc++.h> using namespace std; bool reversenum(int n) { string s = to_st…… 题解列表 2023年09月02日 0 点赞 0 评论 398 浏览 评分: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 评论 357 浏览 评分:9.9
字符串处理回文数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int main(){ int n; int sum=0,…… 题解列表 2023年11月25日 0 点赞 0 评论 374 浏览 评分:9.9
C++超简单思路 摘要:解题思路:将数字问题转换成字符串问题注意事项:注意看题目要求参考代码:#include<iostream>#include<string>#include<algorithm>#include<std…… 题解列表 2024年01月19日 0 点赞 0 评论 407 浏览 评分:9.9