简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,g,s,b; scanf("%d",&i); b=i/100%10; s=i…… 题解列表 2024年01月10日 0 点赞 0 评论 555 浏览 评分:0.0
简单的递归 摘要:参考代码:#include<iostream> using namespace std; int main() { void print(int); int x;…… 题解列表 2024年01月03日 0 点赞 0 评论 650 浏览 评分:9.9
编写题解 1670: 拆分位数(c++) 摘要:解题思路:利用数组来进行倒序输出注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3]; int n; cin >> …… 题解列表 2023年10月23日 0 点赞 0 评论 559 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { int num; cin>…… 题解列表 2023年09月23日 0 点赞 0 评论 512 浏览 评分: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 评论 564 浏览 评分:9.9
1670: 拆分位数 解题思路:num1=num/100;//百位num2=num/10%10;//十位num3=num%10;//个位注意事项:希望有大佬提供不一样的思路参考代码://逆序输出这个三位数,输出个位、十位、百位,三个数字,用空格分开#includeintmain(){intnum1, 题解列表 2023年05月30日 0 点赞 0 评论 773 浏览 评分:0.0
编写题解 1670: 拆分位数 摘要:解题思路:方法一:我们可以定义一个字符串。注意事项:参考代码:#include<iostream> using namespace std; string n; int main() { …… 题解列表 2023年04月19日 0 点赞 0 评论 766 浏览 评分:9.9
1670: 拆分位数 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n…… 题解列表 2023年04月19日 0 点赞 0 评论 644 浏览 评分:9.9
1670: 拆分位数 摘要:#include<stdio.h> int main() { //scanf("%d",&n); char a,b,c; a=getchar(); …… 题解列表 2023年03月11日 0 点赞 0 评论 459 浏览 评分:0.0
1670: 拆分位数 ```cpp#includeusingnamespacestd;//学完算数运算符了,今天的作业是让你拆分一个三位数的个位、十位、百位!//你已经完全可以做了哦!//输入格式输入一个三位数//输出格式逆序输出这个三位数,输出个位、十位、百位, 题解列表 2023年02月18日 0 点赞 1 评论 557 浏览 评分:9.9