题解 1140: C语言训练-求车速

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

筛选

题目 1140: C语言训练-求车速

摘要:解题思路:用while循环来实现数据的递增,一旦有一个数满足题目已给的条件,就退出while循环判断五位数的每个位数之间的关系:万位(即第一位)=数/10000                    ……

Kanna-求车速--C

摘要: #include int main(){ int a, b, c, d; int i; for (i = 95859; i ……

Manchester- 海绵宝宝求车速

摘要:解题思路:把要判断的数的每一位存入数组,首尾相同,且中间两个数也相同,输出结果;参考代码:#include <stdio.h> #include <math.h> int main() {  ……

C语言训练-求车速

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <string.h> // sort函数用于判断一个整数是否为对称数……

java题解 最简单的解法

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        System.out.pri……

字符串逆序

摘要:解题思路:注意事项:参考代码:n=95859 while True:     n+=1     a=str(n)     b=a[::-1]     if a==b:         pr……