题目 1984: 蓝桥杯算法提高VIP-求圆面积表面积体积 摘要:解题思路:注意事项:参考代码:package 入门题;import java.math.BigDecimal;import java.math.BigInteger;import java.util.…… 题解列表 2022年11月13日 0 点赞 0 评论 364 浏览 评分:9.9
多重背包问题 python题解 摘要:n,m=map(int,input().split())W=[]V=[]#转化为01背包问题,同时减少重复的数据,降低时间复杂度for i in range(n): a,b,c=map(int,…… 题解列表 2022年11月13日 0 点赞 0 评论 245 浏览 评分:0.0
五次方数(简单题) 摘要:解题思路:用除十取余法求各个位数,然后就很简单了注意事项:难点在于对于上边界的选取,这里我直接大手一挥,弄了个千万,如果想更快一些的话,可以把他弄小点参考代码:#include <stdio.h>#i…… 题解列表 2022年11月13日 0 点赞 0 评论 336 浏览 评分:9.9
二级C语言-自定义函数题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(int n){ double s; if(n==1) s=…… 题解列表 2022年11月13日 0 点赞 0 评论 247 浏览 评分:9.9
简单快捷的代码 摘要:解题思路:想办法输入10个值在对比注意事项:参考代码:int main(){ int arr[10],s; int tem; for(s=1;s<=9;s++) { scanf("%d",&arr[…… 题解列表 2022年11月13日 0 点赞 0 评论 198 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:注意事项:注意倒数需用double,以输出浮点数参考代码:#include<stdio.h>int main(){ int a,b,c; int A=0,B=0; doub…… 题解列表 2022年11月13日 0 点赞 0 评论 203 浏览 评分:8.0
1059: 二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; int n=2; int sum; scanf("%d",&a); …… 题解列表 2022年11月13日 0 点赞 0 评论 235 浏览 评分:0.0
巧用数组和字符串来解题 摘要:解题思路:就是简单的字符串和数组的使用注意事项:没啥要注意的参考代码:n=list(input().split( )) str=str(n[0]) n=int(n[1]) sum=0 for …… 题解列表 2022年11月12日 0 点赞 0 评论 233 浏览 评分:0.0
计算1977!*---高精度阶乘 摘要: #include using namespace std; int main() { int a[10005]; a[1]=1…… 题解列表 2022年11月12日 0 点赞 0 评论 338 浏览 评分:0.0
c++---阶乘计算 摘要: #include using namespace std; int n; int a[100005]; int main() { …… 题解列表 2022年11月12日 0 点赞 0 评论 333 浏览 评分:0.0