拆分位数 (C语言代码)字符倒着输出 摘要:解题思路:注意事项:参考代码: printf("%c %c %c", getchar(), getchar(), getchar());…… 题解列表 2021年11月20日 0 点赞 0 评论 207 浏览 评分:2.0
拆分位数-题解(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 评论 169 浏览 评分:4.7
拆分位数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include…… 题解列表 2018年11月08日 2 点赞 0 评论 839 浏览 评分:5.8
拆分位数-题解(Python代码) 摘要:利用[::-1]列表逆序输出,再循环输出逆序列表的每一个元素 ```python n=input() m=list_1[::-1] for i in m: print(i,end='…… 题解列表 2019年11月27日 0 点赞 0 评论 2143 浏览 评分: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 评论 439 浏览 评分:6.0
点我有惊喜!你懂得! 摘要:解题思路:愉快的心情才能使自己身心投入!每题笑话: 下雨天看着来往的行人都打着伞,而没人疼没人爱的我却没有伞,于是,大雨中我唱起了一首歌,打伞滴子孙哟参考代码:#include<std…… 题解列表 2017年08月09日 49 点赞 17 评论 2357 浏览 评分:6.8
拆分位数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>a; b=a%10; c=a/1…… 题解列表 2020年09月06日 0 点赞 3 评论 259 浏览 评分:7.3
拆分位数-题解(C语言代码) 摘要:# MarkDown编辑器基本使用#include main() { int x,a,b,c; scanf("%d",&x); a=x/100; b=x/10%10; c=x…… 题解列表 2020年09月24日 0 点赞 0 评论 672 浏览 评分:7.3
利用字符串转字符数组实现拆分位数 摘要:解题思路:先看下题目:题目描述:学完算数运算符了,今天的作业是让你拆分一个三位数的个位、十位、百位!你已经完全可以做了哦!输入:输入一个三位数输出:逆序输出这个三位数,输出个位、十位、百位,三个数字,…… 题解列表 2021年10月13日 0 点赞 0 评论 499 浏览 评分:7.3
简单的字符串 摘要:解题思路:用join函数即可注意事项:无参考代码:num=input() print(' '.join(num[::-1]))…… 题解列表 2022年07月14日 0 点赞 1 评论 483 浏览 评分:7.3