[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>int main(){ int num = 0; int tem…… 题解列表 2023年06月18日 0 点赞 0 评论 113 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j; scanf_s("%d", &n); for (i = 0; i < n; i++) …… 题解列表 2023年06月18日 0 点赞 0 评论 342 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[301]; fgets(str, size…… 题解列表 2023年06月18日 0 点赞 0 评论 186 浏览 评分:0.0
数据结构-字符串插入 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; int t=0; int j=0; c…… 题解列表 2023年06月19日 0 点赞 0 评论 194 浏览 评分:0.0
辗转相除法 摘要:解题思路:辗转相除法,最小公因数用数学表示为: gcd(a, b) = gcd(b, a mod b)。最大公倍数为两数的积除以最小公因数。注意事项:因为我这里gcd函数的第一个输入值设置为较小的值,…… 题解列表 2023年06月19日 0 点赞 0 评论 138 浏览 评分:0.0
完数的判断 摘要:#include <stdio.h> int main(){ int sum=1, i=2,y=2,N=0; scanf("%d",&N); for(i;i<=N;i++){ su…… 题解列表 2023年06月19日 0 点赞 0 评论 111 浏览 评分:0.0
有规律的数列求和 摘要:#include <stdio.h> int main(){ int N=10,i; float x=2.0,y=1.0,z=0.0,sum=2.0; //scanf("%d",&N);…… 题解列表 2023年06月19日 0 点赞 0 评论 119 浏览 评分:0.0
平均值的计算 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(Strin…… 题解列表 2023年06月19日 0 点赞 0 评论 239 浏览 评分:0.0
哇靠送分题 摘要:解题思路:注意事项:小小的改一下题目参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; while(cin>…… 题解列表 2023年06月19日 0 点赞 0 评论 588 浏览 评分:0.0
哇靠送分题*2 摘要:解题思路:思考注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; while(cin>>a>>b>…… 题解列表 2023年06月19日 0 点赞 0 评论 573 浏览 评分:0.0