2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int b,c; double a; cin>>a…… 题解列表 2023年12月30日 0 点赞 0 评论 116 浏览 评分:0.0
1015:【编程入门】求和训练 摘要:解题思路:将1到a的和,1到b的平方和,1到c的倒数和依次求出,最后将这三项和相加。注意事项:注意输出答案要保留2位小数。参考代码:#include<stdio.h>int main(){ in…… 题解列表 2023年12月30日 0 点赞 0 评论 121 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:辗转相除法注意事项:参考代码:#include <stdio.h>int gcd(int m, int n){ if (m % n == 0) return n; else re…… 题解列表 2023年12月30日 0 点赞 0 评论 151 浏览 评分: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 评论 153 浏览 评分:0.0
链表模仿学习 摘要:#include<stdio.h> #include<stdlib.h> typedef struct student{ int id; int score; s…… 题解列表 2023年12月30日 0 点赞 0 评论 118 浏览 评分:0.0
java解题之链表合并 摘要:import java.util.Scanner; import java.util.ArrayList; import java.util.Collections; import java.u…… 题解列表 2023年12月30日 0 点赞 0 评论 185 浏览 评分:0.0
[编程入门]阶乘求和 摘要:解题思路: 通过子函数进行运算阶乘,循环进行存值注意事项: 1.子函数返回类型 long long 2.输入输出%lld参考代码:#include<stdio.h>long long…… 题解列表 2023年12月30日 0 点赞 0 评论 130 浏览 评分:0.0
[编程入门]完数的判断 摘要:解题思路:注意事项:时间问题,限制时间太短,用指针可以减少时间参考代码:#include<stdio.h>int main(){ int i,j,n,a[100]={0},sum=0,*p=a; sc…… 题解列表 2023年12月30日 0 点赞 0 评论 137 浏览 评分:0.0
编写题解 3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if((a…… 题解列表 2023年12月31日 0 点赞 0 评论 134 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:人家让从小到大,不要从大到小参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; …… 题解列表 2023年12月31日 0 点赞 0 评论 158 浏览 评分:0.0