[编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:重点:怎么把整数转化为字符参考代码:#include <stdio.h>//写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。如输入1990,应输…… 题解列表 2025年10月31日 0 点赞 0 评论 260 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,t,k; int a[3];&n…… 题解列表 2025年11月01日 1 点赞 0 评论 307 浏览 评分:0.0
2544:N内求和两种方法 摘要:方法1 for循环#include <iostream>using namespace std;int main() { int n; cin >> n; int num = …… 题解列表 2025年11月01日 0 点赞 0 评论 135 浏览 评分:0.0
偶数列举两种方法 摘要:方法1#include <iostream>using namespace std;int main() { int n; cin >> n; for (int i = 2; …… 题解列表 2025年11月01日 0 点赞 0 评论 119 浏览 评分:0.0
c++求平均年龄 摘要:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >>…… 题解列表 2025年11月01日 0 点赞 0 评论 177 浏览 评分:0.0
c++ 2796简单解法 摘要:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >>…… 题解列表 2025年11月01日 1 点赞 0 评论 124 浏览 评分:0.0
c++简单解法 摘要:#include <iostream>using namespace std;int main() { int n; cin >> n; int sumjin = 0, sum…… 题解列表 2025年11月01日 0 点赞 0 评论 129 浏览 评分:0.0
编写题解1020 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i,sum=1; scanf("%d", &N); for …… 题解列表 2025年11月01日 0 点赞 0 评论 165 浏览 评分:0.0
编写题解1019 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> double m = 0; int n=0;//输入开始时的高度m和弹起的次…… 题解列表 2025年11月01日 0 点赞 0 评论 150 浏览 评分:0.0
判断能否被3、5、7整除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void) { int a; scanf("…… 题解列表 2025年11月01日 1 点赞 0 评论 187 浏览 评分:0.0