题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { double a; int e; double …… 题解列表 2021年03月17日 0 点赞 0 评论 616 浏览 评分:9.9
蓝桥杯基础练习VIP-Sine之舞Java-用递归实现 摘要:实现两个递归函数,funan函数输出An;funsn函数输出Sn。 funsn函数中会调用funan函数。 道理不难,主要是在输出的格式上投入了较多时间。 ```java import j…… 题解列表 2021年03月17日 0 点赞 0 评论 463 浏览 评分:6.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:#include using namespace std; int main() { int a,b,m,n,k,h,z; cin>>a>>b; if (a>b) …… 题解列表 2021年03月17日 0 点赞 0 评论 436 浏览 评分:9.9
C题解***************************************** 摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int n,i,j,c=0,flag,max,maxa; …… 题解列表 2021年03月17日 0 点赞 0 评论 315 浏览 评分:0.0
蓝桥杯算法训练VIP-装箱问题(背包同种思路) 摘要:import java.util.Scanner; public class Main3 { public static void main(String[] args) { Scan…… 题解列表 2021年03月17日 0 点赞 0 评论 752 浏览 评分:9.9
sort结构体排序 摘要:```cpp #include #include using namespace std; typedef struct Price{ int gi; int pi; double…… 题解列表 2021年03月17日 0 点赞 0 评论 386 浏览 评分:9.9
思路简单,清晰明了 摘要: #判断素数 ##做这题目得先分清楚到底啥是素数,啥是合数。 质数(素数)是指在大于1的自然数中,除了1和它本身以外不再有其他因数的自然数。 合数是指在大于1的整数中除了能被1和本…… 题解列表 2021年03月17日 0 点赞 0 评论 562 浏览 评分:9.9
编写题解 1869: 鸡兔同笼-穷举法 摘要:###### #解题思路:使用穷举法来解题 1、n为总数量,m为总腿数。那么设鸡为i只,兔为k只可得出公式 2*i+4*k=m ; i+k=n; 鸡和兔都从0只开始,当鸡为0只,那么兔…… 题解列表 2021年03月17日 0 点赞 0 评论 400 浏览 评分:0.0
C题解***************************************** 摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>int main(){ char c; int…… 题解列表 2021年03月17日 0 点赞 0 评论 227 浏览 评分:0.0
[算法提高VIP]01背包 摘要:```java Scanner scanner=new Scanner(System.in); int n=scanner.nextInt(); in…… 题解列表 2021年03月17日 0 点赞 0 评论 315 浏览 评分:0.0