所有代码中唯一没有用while的 摘要:```python def hs(q): p=0 for i in range(10): if p>=9: return(0) …… 题解列表 2024年08月01日 0 点赞 0 评论 378 浏览 评分:0.0
编写题解 1201: 回文数(一) 摘要:解题思路:数字转换为字符串 倒置和判断回文两个函数 注意事项:参考代码:#include "stdio.h"#include "string.h"#include "stdlib.h"void NIZ…… 题解列表 2021年10月08日 0 点赞 0 评论 248 浏览 评分:0.0
题解 1201: 回文数(一) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>int huiwen(int n)//回文判断{ int count=0; int m=n; wh…… 题解列表 2021年05月20日 0 点赞 0 评论 188 浏览 评分:0.0
回文数(一) 摘要:解题思路:注意事项:import java.util.Scanner;public class Demo1201 { public static void main(String[] args) { …… 题解列表 2022年01月11日 0 点赞 0 评论 260 浏览 评分:0.0
回文数(一) 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int fan(int ch){ //反转 把数反转…… 题解列表 2022年02月28日 0 点赞 1 评论 117 浏览 评分:0.0
编写题解 1201: 回文数(一) 摘要:解题思路:注意事项://输入L//输入M //超出8步则结束//每一步步数加一//把M转化为字符串//把Num倒置//把倒置后的Num转化为整数//把M换华为字符串//表示M不是回文数//M是回文数,…… 题解列表 2022年05月12日 0 点赞 0 评论 209 浏览 评分:0.0
函数的调用666 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int happy(int n){ int nn=n,num=0,sum=0,i; while(nn>…… 题解列表 2022年11月13日 0 点赞 0 评论 300 浏览 评分:0.0
1201: 回文数(一) 摘要:```c #include int huiwen(int n){ int cnt=0,i,k,a[100]; do{ a[cnt]=n%10; cnt++; n/=10…… 题解列表 2023年02月06日 0 点赞 0 评论 327 浏览 评分:0.0
回文数(一)——python 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): a = input() s = 0 while a!=a[::-1]: …… 题解列表 2023年03月31日 0 点赞 0 评论 184 浏览 评分:0.0
回文数(一)-题解(C语言代码) 摘要:```c #include int fun(int k)//获取回文数 { int d=0; while(k) { d=d*10+k%1…… 题解列表 2020年02月20日 0 点赞 0 评论 393 浏览 评分:0.0