1162: 密码(c++代码) 摘要:```cpp #include using namespace std; int main() { int n,i=0,j,b,c,d,f; string a; …… 题解列表 2022年11月13日 0 点赞 0 评论 582 浏览 评分:9.9
编题的重大bug!!!!!!!!!!!!!!进来看 摘要:解题思路:样例10 1 把自己输出的结果改为99.20就行了。注意事项:参考代码:Scanner c = new Scanner(System.in);double n = c.nextDouble(…… 题解列表 2022年11月13日 0 点赞 1 评论 562 浏览 评分:8.0
《关于我买1块钱8折书含泪赚88.8这件事》 摘要:解题思路:注意事项:参考代码:n = list(map(int,input().split()))a = n[0]-n[1]*0.8if n[0]+n[1] == 11: a = n[0]*10…… 题解列表 2022年11月13日 0 点赞 0 评论 639 浏览 评分:9.9
C语言 自定义函数处理最大公约数与最小公倍数& 摘要:解题思路:见注释注意事项:参考代码:#include<stdio.h>int main(){ int zxgb(int a, int b); int zdgy(int a, int…… 题解列表 2022年11月13日 0 点赞 0 评论 322 浏览 评分:0.0
题目 1984: 蓝桥杯算法提高VIP-求圆面积表面积体积 摘要:解题思路:注意事项:参考代码:package 入门题;import java.math.BigDecimal;import java.math.BigInteger;import java.util.…… 题解列表 2022年11月13日 0 点赞 0 评论 462 浏览 评分: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 评论 357 浏览 评分:0.0
五次方数(简单题) 摘要:解题思路:用除十取余法求各个位数,然后就很简单了注意事项:难点在于对于上边界的选取,这里我直接大手一挥,弄了个千万,如果想更快一些的话,可以把他弄小点参考代码:#include <stdio.h>#i…… 题解列表 2022年11月13日 0 点赞 0 评论 432 浏览 评分:9.9
二级C语言-自定义函数题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(int n){ double s; if(n==1) s=…… 题解列表 2022年11月13日 0 点赞 0 评论 341 浏览 评分: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 评论 294 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:注意事项:注意倒数需用double,以输出浮点数参考代码:#include<stdio.h>int main(){ int a,b,c; int A=0,B=0; doub…… 题解列表 2022年11月13日 0 点赞 0 评论 306 浏览 评分:8.0