拆分位数-题解(Python代码) 摘要:利用[::-1]列表逆序输出,再循环输出逆序列表的每一个元素 ```python n=input() m=list_1[::-1] for i in m: print(i,end='…… 题解列表 2019年11月27日 0 点赞 0 评论 2040 浏览 评分:6.0
1670: 拆分位数 摘要:解题思路:使用数组注意事项:参考代码:int i,b,a[3]={0}; scanf("%d",&b); for(i=0;i<3;i++){ a[i]=b%10; b/=10;…… 题解列表 2024年11月01日 1 点赞 0 评论 238 浏览 评分:6.0
拆分位数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include…… 题解列表 2018年11月08日 2 点赞 0 评论 804 浏览 评分:5.8
拆分位数-题解(C语言代码) 摘要:注意事项:注意输出顺序参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int g,s,b; g=n%10; s=n/10%10; b=…… 题解列表 2020年12月08日 0 点赞 1 评论 102 浏览 评分:4.7
拆分位数 (C语言代码)字符倒着输出 摘要:解题思路:注意事项:参考代码: printf("%c %c %c", getchar(), getchar(), getchar());…… 题解列表 2021年11月20日 0 点赞 0 评论 151 浏览 评分:2.0
拆分位数-题解(Java代码)理解不了我退网 摘要: import java.util.Scanner; public class P1670 { public static void main(St…… 题解列表 2020年03月30日 0 点赞 0 评论 499 浏览 评分:2.0
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n = 0; cin >>…… 题解列表 2022年10月09日 0 点赞 0 评论 83 浏览 评分:0.0
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main(){ cin>>a; cout<<a%10…… 题解列表 2022年05月09日 0 点赞 0 评论 161 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:int 数据除数取整,456/100=4;求模。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a…… 题解列表 2018年10月31日 0 点赞 0 评论 341 浏览 评分:0.0
拆分位数《三位数》 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n%10<…… 题解列表 2024年12月01日 0 点赞 0 评论 222 浏览 评分:0.0