回文数字(递归求解,又臭又长,慎点) 摘要:#include<iostream>#include<string>using namespace std;int n;string sub(string s){ string m; for (int…… 题解列表 2021年09月13日 0 点赞 0 评论 584 浏览 评分:0.0
桥杯历届试题-回文数字 摘要:解题思路:暴力循环输出注意事项:参考代码:#include<stdio.h>int main(){ int m; scanf("%d",&m); int i,flag = 0; for(i = 10…… 题解列表 2021年10月17日 0 点赞 0 评论 536 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字(python) 摘要:解题思路:注意事项:参考代码:N = int(input())flag = Falsefor i in range(10000,1000000): if i == int(str(i)[::-1…… 题解列表 2021年11月10日 0 点赞 0 评论 659 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:从 10000 直接循环到 999999,先判断各位数字和是不是与所给数相等,不相等直接判断下一个数,如果相等用 equal 函数判断是否是回文数。#include <bits/stdc++.h> …… 题解列表 2021年12月26日 0 点赞 0 评论 651 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:n=int(input()) def get(x): if str(x) == str(x)[::-1]: return 1 def g(…… 题解列表 2022年01月31日 0 点赞 0 评论 414 浏览 评分:0.0
递归翻转字符串 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2022年02月04日 0 点赞 0 评论 739 浏览 评分: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 评论 518 浏览 评分: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 评论 563 浏览 评分:0.0
很简单的思路 有需要可以看看 解题思路:注意事项:参考代码:importjava.util.ArrayList;importjava.util.Collections;importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scanner 题解列表 2022年02月23日 0 点赞 0 评论 657 浏览 评分:0.0
题解 1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:看注释注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >>n; if(n>54…… 题解列表 2022年02月23日 0 点赞 0 评论 638 浏览 评分:0.0