1670: 拆分位数 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n…… 题解列表 2023年04月19日 0 点赞 0 评论 110 浏览 评分:9.9
: 拆分位数(超简C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2022年10月29日 0 点赞 0 评论 591 浏览 评分:9.9
数据的拆分输出 摘要:解题思路:声明输入的数据和个位十位百位的变量,然后使用除或求余拆分位数输出;注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { …… 题解列表 2021年07月05日 0 点赞 1 评论 1278 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:先定义一个分解并输出3位数的函数,再在主函数里调用它就可以啦···注意事项:注意是取余10,不是整出10···参考代码:#include<bits/stdc++.h> using name…… 题解列表 2022年05月29日 0 点赞 0 评论 386 浏览 评分:9.9
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 247 浏览 评分:9.9
拆分位数-题解(Python代码) 摘要:只需要简单的切片逆序输出,简单暴力,好像没有什么好讲的,都能看得懂 n=input() x=n[::-1] print(" ".join(x))…… 题解列表 2019年11月10日 0 点赞 0 评论 748 浏览 评分:9.9
题目 1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int i,n,m; scanf("%d",&n);//输入一个三位数 for(i=0;i<2;i+…… 题解列表 2022年12月05日 0 点赞 0 评论 131 浏览 评分:9.9
简单的递归 摘要:参考代码:#include<iostream> using namespace std; int main() { void print(int); int x;…… 题解列表 2024年01月03日 0 点赞 0 评论 125 浏览 评分:9.9
拆分位数-题解(Python代码)python 摘要:```python n = int(input())#输入并 字符转为整型 g=s=b=0#个位 十位 百位 g=n%10 #356 %10 = 6 s=n/10%10 #356/10%10=…… 题解列表 2019年11月24日 0 点赞 0 评论 688 浏览 评分:9.9
利用字符数组指针倒序输出(c语言) 摘要:解题思路:利用字符数组的长度倒序输出注意事项:字符串最后结尾有‘\0’参考代码:#include <stdio.h>int main() { char arr[3]; gets(arr); int a…… 题解列表 2024年02月18日 1 点赞 0 评论 214 浏览 评分:9.9