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

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

筛选

回文数字(c++代码实现,vector)

摘要:解题思路:注意事项:此题比较容易超时, 需要减少遍历次数参考代码:#include using namespace std; vector bool check(int n, int num) ……

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

摘要:从 10000 直接循环到 999999,先判断各位数字和是不是与所给数相等,不相等直接判断下一个数,如果相等用 equal 函数判断是否是回文数。#include <bits/stdc++.h> ……

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

摘要:解题思路:注意事项:参考代码: #include"bits/stdc++.h" using namespace std; int main(){  int n;  int flag=0; ……