1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include<stdlib.h>#include<stdio.h>int main(){ int n…… 题解列表 2022年03月29日 0 点赞 0 评论 240 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字——python 摘要:解题思路:直接遍历的话,运行时间较多,虽然这道题暴力也能通过。我们从数位来判断的话就简单多了。注意事项:参考代码:#高效解法# n = int(input())# p=0# for i in rang…… 题解列表 2022年03月22日 0 点赞 0 评论 465 浏览 评分:9.9
c++,暴力做法 摘要:解题思路:注意事项:中间一位时只能是奇数,偶数的话中间就能有两位参考代码:#include<iostream>#include<vector>#include<algorithm>using name…… 题解列表 2022年03月19日 0 点赞 0 评论 245 浏览 评分:0.0
蓝桥杯历届试题-回文数字 C++模拟 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int count_=0; string s; …… 题解列表 2022年03月16日 0 点赞 0 评论 451 浏览 评分:0.0
编写题解 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include "iostream"#include "algorithm"#include "vector"using namespace std;int main(…… 题解列表 2022年03月15日 0 点赞 0 评论 150 浏览 评分:0.0
写题解 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,count2=0; scanf("%d",&n); …… 题解列表 2022年03月14日 0 点赞 0 评论 302 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool isReverse(int n) { …… 题解列表 2022年03月11日 0 点赞 0 评论 163 浏览 评分:9.9
简单优雅,代码超短 摘要:`` n = int(input()) u = 0 #记录是否有输出数字 for i in range(10000,1000000):…… 题解列表 2022年03月10日 0 点赞 2 评论 415 浏览 评分:9.1
c++ 基础题 1434:回文数字 摘要:思路: 题目已经给定了数字范围, 即是在这个范围进行循环遍历 然后利用一函数来判断这个数是否为回文 是否各位置上的数字之和为一开始输入的值。符合这两种要求的即为所求。 ```c++ #incl…… 题解列表 2022年03月06日 0 点赞 0 评论 406 浏览 评分:8.7