java题解 最简单的解法 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { System.out.pri…… 题解列表 2023年10月31日 0 点赞 0 评论 712 浏览 评分:9.9
头尾指针判断 摘要:思路: 从95960开始遍历,找到第一个回文数就退出即可 回文数的判断: 1、可用本题中的数组利用头尾指针进行判断; 2、可以利用字符串的处理,因为有strlen函数,比较容易得到长度 …… 题解列表 2023年03月31日 1 点赞 0 评论 718 浏览 评分:0.0
python求回文数 摘要:解题思路:判断回文数注意事项:注意取值范围不用太大参考代码:def hui(n): L = str(n) if L == L[::-1]: return 1 else…… 题解列表 2023年03月18日 0 点赞 0 评论 860 浏览 评分:0.0
这题没加限制,我这种拉机真的不懂啊 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("95959"); return 0;}…… 题解列表 2023年03月03日 0 点赞 0 评论 391 浏览 评分:0.0
C语言训练-求车速 摘要:解题思路:注意事项:其实还应该求速度但是答案仿佛忘了这一问如果该答案了应该加上 int speed; speed = (num - 95859) / 2;然后把两个数都打印出来参考代码:#incl…… 题解列表 2023年01月14日 0 点赞 0 评论 930 浏览 评分:9.9
使用while循环 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int huiwen(int i){ int k; k=i; int t,s=0; …… 题解列表 2022年11月03日 0 点赞 0 评论 561 浏览 评分:10.0
求车速(超级简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int i; for(i=95860;…… 题解列表 2022年10月28日 1 点赞 0 评论 802 浏览 评分:9.9
简单循环分离数字解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=95860,a,b,c,d,e; for(i=95860;i<99999;i++) …… 题解列表 2022年10月14日 0 点赞 0 评论 953 浏览 评分:9.9
1140-求车速(reverse()函数) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;int main(){…… 题解列表 2022年10月08日 0 点赞 0 评论 463 浏览 评分:0.0
1140-C语言训练-求车速 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int m=95860; while…… 题解列表 2022年10月08日 0 点赞 0 评论 418 浏览 评分:0.0