二级C语言-平均值计算 摘要:解题思路:拿到10个数放入数组求出平均值通过if求出大于平均值的个数即可注意事项:参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2024年01月28日 2 点赞 0 评论 321 浏览 评分:10.0
编写题解 2914: 铺地毯 摘要:解题思路:注意事项:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); in…… 题解列表 2024年02月01日 0 点赞 0 评论 179 浏览 评分:10.0
C++ 编写题解 1098: 陶陶摘苹果 摘要:解题思路: 注意事项: 参考代码: #include<iostream>using namespace std;int main(){ int a[11],high,count=0; for (int…… 题解列表 2024年02月05日 1 点赞 0 评论 401 浏览 评分:10.0
堆优化版的Dijskra 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<queue> #include<vector> #include<cstring> using nam…… 题解列表 2024年02月07日 1 点赞 0 评论 221 浏览 评分:10.0
1074: 数字整除 摘要:解题思路:用用户输入的数据取模17即可得知是否为17的倍数注意事项:1、由于输入的是大数据,即用普通的int,long等装不下,故可用字符数组的方式容纳此数2、需要明白字符数组中的值转换为int数字类…… 题解列表 2024年02月07日 2 点赞 0 评论 339 浏览 评分:10.0
c++:通过ascll码来整合出数字之后拼凑起来即可 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<stdlib.h>#include<math.h>using namespace std;int main(){ i…… 题解列表 2024年02月24日 0 点赞 0 评论 199 浏览 评分:10.0
更小的数---暴力尝试,简单易看懂 摘要:解题思路:本题时间要求不那么严格,双重循环也能过注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; typede…… 题解列表 2024年02月26日 0 点赞 0 评论 726 浏览 评分:10.0
编写题解 2792: 三角形判断 摘要:解题思路:两个较短的边之和大于最长的那条边注意事项:参考代码:a=list(map(int,input().split()))a.sort()if a[0]+a[1]>a[2]: print(&…… 题解列表 2024年02月27日 0 点赞 0 评论 269 浏览 评分:10.0
整数删除-能看懂系列 摘要:解题思路:第一份代码为通过的代码,借鉴于其处的方法,这边有些大佬的代码可能不太好理解,所以写了这个比较详细的,希望对各位有用;另外这个题我自己也有方法,容易理解但较为繁琐也可惜有4个输出超限,有兴趣的…… 题解列表 2024年03月02日 3 点赞 1 评论 1246 浏览 评分:10.0
Hanoi双塔问题(c语言实现) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void n2(double ar[], int n);//函数求2^n并储存在数组int main(){ int n; …… 题解列表 2024年03月02日 3 点赞 0 评论 421 浏览 评分:10.0