水陆距离(朴素方法易懂版) 摘要:解题思路:这思路是优质题解的思路https://blog.dotcpp.com/a/8945思路如下①:若某陆地上下左右其中有一个是水域,则该陆地到水域的最短距离一定为1②:两个点的距离为x坐标相减的…… 题解列表 2023年12月17日 0 点赞 0 评论 543 浏览 评分:9.9
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:这里要比较六次参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >> a>>…… 题解列表 2023年12月17日 0 点赞 0 评论 372 浏览 评分:4.7
2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 449 浏览 评分:0.0
2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 296 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简短) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chines…… 题解列表 2023年12月17日 0 点赞 0 评论 353 浏览 评分:6.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 294 浏览 评分:0.0
直接插入排序,折半插入排序、希尔排序 摘要:直接插入排序#include <stdio.h> int main() { int a[10], key; // 输入已排序的数组 for (int i = 0…… 题解列表 2023年12月17日 0 点赞 0 评论 368 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简单) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chinese; int …… 题解列表 2023年12月17日 0 点赞 0 评论 301 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:不要用int,用double参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; …… 题解列表 2023年12月17日 0 点赞 0 评论 465 浏览 评分:0.0
数学问题:牛吃牧草 摘要:解题思路:设原本牧草量为z,每头牛每天吃x,每天生长为y15*x*20=20*y+z20*x*10=10*y+zz为无关变量消去z100x=10y10x=y所以够10头牛吃1天注意事项:参考代码:…… 题解列表 2023年12月17日 0 点赞 0 评论 932 浏览 评分:6.5