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

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

筛选

1140: C语言训练-求车速

方法一:```cpp#includeusingnamespacestd;intmain(){intN=95859;while(true){N++;if((N/10000)==N%10&&((N/1000%10)==(N/10%10))){cout

字符串逆序

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

使用while循环

摘要:参考代码:#include<bits/stdc++.h>using namespace std;int huiwen(int i){    int k;    k=i;    int t,s=0;  ……

题目有点抽象

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,a=0,b=0,c=0,d=0,e=0,f=0;    for(i=1;i<=100;i++)……

简单的回文数

摘要:#include<stdio.h> int judge(int n); int main(void) {     int i = 95859, count = 0;     while(co……