1434: 蓝桥杯历届试题-回文数字(python) 摘要:解题思路:注意事项:参考代码:N = int(input())flag = Falsefor i in range(10000,1000000): if i == int(str(i)[::-1…… 题解列表 2021年11月10日 0 点赞 0 评论 269 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:从 10000 直接循环到 999999,先判断各位数字和是不是与所给数相等,不相等直接判断下一个数,如果相等用 equal 函数判断是否是回文数。#include <bits/stdc++.h> …… 题解列表 2021年12月26日 0 点赞 0 评论 194 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:n=int(input()) def get(x): if str(x) == str(x)[::-1]: return 1 def g(…… 题解列表 2022年01月31日 0 点赞 0 评论 111 浏览 评分:0.0
递归翻转字符串 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2022年02月04日 0 点赞 0 评论 148 浏览 评分:0.0
两组判断解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int judge1(int n){ int a[6],len,i=0,j=0; if(n<100000) len=5; else le…… 题解列表 2022年02月08日 0 点赞 0 评论 140 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:代码思路有点乱注意事项:参考代码:#include<stdio.h>int main(){ int n,sum,a; int i,j,k,count=0; scanf("%d",&n); f…… 题解列表 2022年02月12日 0 点赞 0 评论 168 浏览 评分:0.0
很简单的思路 有需要可以看看 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList;import java.util.Collections;import java.util.Scanner;publ…… 题解列表 2022年02月23日 0 点赞 0 评论 208 浏览 评分:0.0
题解 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:看注释注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >>n; if(n>54…… 题解列表 2022年02月23日 0 点赞 0 评论 272 浏览 评分:0.0
蓝桥杯历届试题-回文数字 Python!! 摘要:解题思路:利用循环嵌套实现对10000~999999的遍历而各位数之和,我们可以先将其转换为字符串然后遍历字符串,遍历过程中将元素转换回整形,并将其相加与记录最后用字符串的正逆序输出判断是否对称完成注…… 题解列表 2022年02月25日 0 点赞 0 评论 181 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码: #include"bits/stdc++.h" using namespace std; int main(){ int n; int flag=0; …… 题解列表 2022年02月28日 0 点赞 0 评论 142 浏览 评分:0.0