题解 1434: 蓝桥杯历届试题-回文数字

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

蓝桥杯2012以前历届试题-回文数字

摘要:解题思路:12321。这个数本来是从左往右的,将这个数通过取余从右往左拼成新数,一样就是回文数。例:1335321 拼成了 1235331如果 1335331 拼成 1335331注意事项:参考代码:……

蓝桥杯历届试题-回文数字

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int dight[6]; bool judge(int ……

C++超简单思路

摘要:解题思路:将数字问题转换成字符串问题注意事项:注意看题目要求参考代码:#include<iostream>#include<string>#include<algorithm>#include<std……

字符串处理回文数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int main(){ int n; int sum=0,……

暴力,朴实无华

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int n;bool o;int y = 0;bool sf(int x, int w){ i……

暴力出奇迹

摘要:参考代码:#include<bits/stdc++.h> using namespace std; bool reversenum(int n) { string s = to_st……