编写题解 1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>using namespace std;int main() { int N; cin>>N; d…… 题解列表 2023年01月07日 0 点赞 0 评论 199 浏览 评分:0.0
1009——[编程入门]数字的处理与判断(仿写题解) 摘要: import java.util.Scanner; public class Main { public static void main(String[]…… 题解列表 2023年01月07日 0 点赞 0 评论 228 浏览 评分:0.0
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:为什么我不给sum给与初值就会报错呢?注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() …… 题解列表 2023年01月07日 0 点赞 0 评论 119 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main() {int N,all=1;cin>>N;for(int i=1;i<N;i+…… 题解列表 2023年01月07日 0 点赞 0 评论 141 浏览 评分:0.0
编写题解 1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int N; cin>>N; fo…… 题解列表 2023年01月07日 0 点赞 0 评论 126 浏览 评分:0.0
c语言解决字符串反转 摘要:解题思路:注意事项:字符串后面有一个'\0’所以要从j-1开始遍历,跳过\0参考代码:#include <stdio.h>#include <stdlib.h>#include <string…… 题解列表 2023年01月07日 0 点赞 0 评论 388 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求和 适合新手理解体会 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int k,p=0; int a[…… 题解列表 2023年01月07日 0 点赞 0 评论 145 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int a[10]; for(in…… 题解列表 2023年01月07日 0 点赞 0 评论 157 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 辗转相除法 摘要:解题思路:1.若b=0,不再循环,a为最大公约数2.计算a/b的余数,设t为余数,将b的值赋给a,t的值赋给b3.b不等于0,循环 (最大公约数)4.最小公倍数=a*b/最大公约数 (最小公倍数)注…… 题解列表 2023年01月07日 0 点赞 0 评论 173 浏览 评分:0.0
百分制成绩转换 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String args[])…… 题解列表 2023年01月07日 0 点赞 0 评论 133 浏览 评分:0.0