1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:辗转相除法注意事项:参考代码:#include <stdio.h>int gcd(int m, int n){ if (m % n == 0) return n; else re…… 题解列表 2023年12月30日 0 点赞 0 评论 173 浏览 评分:0.0
简单易懂的答案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0; int a = 0; int ii = 0; int count = 0; int arr…… 题解列表 2023年12月30日 0 点赞 0 评论 168 浏览 评分:0.0
链表模仿学习 摘要:#include<stdio.h> #include<stdlib.h> typedef struct student{ int id; int score; s…… 题解列表 2023年12月30日 0 点赞 0 评论 146 浏览 评分:0.0
java解题之链表合并 摘要:import java.util.Scanner; import java.util.ArrayList; import java.util.Collections; import java.u…… 题解列表 2023年12月30日 0 点赞 0 评论 205 浏览 评分:0.0
[编程入门]阶乘求和 摘要:解题思路: 通过子函数进行运算阶乘,循环进行存值注意事项: 1.子函数返回类型 long long 2.输入输出%lld参考代码:#include<stdio.h>long long…… 题解列表 2023年12月30日 0 点赞 0 评论 145 浏览 评分:0.0
[编程入门]完数的判断 摘要:解题思路:注意事项:时间问题,限制时间太短,用指针可以减少时间参考代码:#include<stdio.h>int main(){ int i,j,n,a[100]={0},sum=0,*p=a; sc…… 题解列表 2023年12月30日 0 点赞 0 评论 156 浏览 评分:0.0
编写题解 3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if((a…… 题解列表 2023年12月31日 0 点赞 0 评论 152 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:人家让从小到大,不要从大到小参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; …… 题解列表 2023年12月31日 0 点赞 0 评论 187 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:是大写不是小写参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b…… 题解列表 2023年12月31日 0 点赞 0 评论 169 浏览 评分:0.0
编写题解 2792: 三角形判断 摘要:解题思路:两边之和大于第三边注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin…… 题解列表 2023年12月31日 0 点赞 0 评论 174 浏览 评分:0.0