编写题解 1670: 拆分位数(c++) 摘要:解题思路:利用数组来进行倒序输出注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3]; int n; cin >> …… 题解列表 2023年10月23日 0 点赞 0 评论 136 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { int num; cin>…… 题解列表 2023年09月23日 0 点赞 0 评论 122 浏览 评分:0.0
简单拆分(C语言) 摘要:解题思路:逆序不是从小到大注意事项:参考代码:#include<stdio.h>int main(){ int x,a,b,c; scanf("%d",&x); a=x/100; b=x/10%10;…… 题解列表 2023年09月16日 0 点赞 0 评论 119 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:num1=num/100;//百位num2=num/10%10;//十位num3=num%10;//个位注意事项:希望有大佬提供不一样的思路参考代码://逆序输出这个三位数,输出个位、十位、…… 题解列表 2023年05月30日 0 点赞 0 评论 143 浏览 评分:0.0
编写题解 1670: 拆分位数 摘要:解题思路:方法一:我们可以定义一个字符串。注意事项:参考代码:#include<iostream> using namespace std; string n; int main() { …… 题解列表 2023年04月19日 0 点赞 0 评论 290 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n…… 题解列表 2023年04月19日 0 点赞 0 评论 110 浏览 评分:9.9
1670: 拆分位数 摘要:#include<stdio.h> int main() { //scanf("%d",&n); char a,b,c; a=getchar(); …… 题解列表 2023年03月11日 0 点赞 0 评论 107 浏览 评分:0.0
1670: 拆分位数 摘要:```cpp #include using namespace std; //学完算数运算符了,今天的作业是让你拆分一个三位数的个位、十位、百位! //你已经完全可以做了哦! //输入格式 …… 题解列表 2023年02月18日 0 点赞 1 评论 113 浏览 评分:9.9
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 245 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a,b,c; cin>>n; c=n%10; b=n%10…… 题解列表 2023年01月26日 0 点赞 0 评论 87 浏览 评分:0.0