判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 625 浏览 评分:9.9
石子合并 区间DP+破环成链+max和min 摘要: #include using namespace std; const int N = 1100; int f1[N][N] = {0}; // 用于存储最大得…… 题解列表 2024年10月26日 0 点赞 0 评论 286 浏览 评分:9.9
2843: 计算2的N次方(pow解法) 摘要:解题思路:pow要用精度注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,n[100]; double sum=0;…… 题解列表 2024年10月26日 1 点赞 0 评论 367 浏览 评分:9.9
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i,sum=0,p=0; for(…… 题解列表 2024年10月27日 0 点赞 0 评论 477 浏览 评分:9.9
苦思很久题解的做法发现是题意有偏差(无语死啦) 摘要:### 好的,吐槽开始(~~本题数据太水,题目描述应该不只两种电池,但是数据只有3小时和5小时的电池种类~~) #####以下是我对于题目的理解,刚开始我还以为是我的语文功底太差,导致对于题目的理解…… 题解列表 2024年10月27日 1 点赞 0 评论 353 浏览 评分:9.9
一元二次方程方程求根 摘要:解题思路:应用到数学知识分情况讨论b^2-4*a*c即Delta的情况Delta大于等于0时情况较简单应用到求根公式Delta小于0时涉及到共轭复根注意事项:使用到pow();sqrt()函数参考代码…… 题解列表 2024年10月27日 3 点赞 0 评论 1033 浏览 评分:9.9
方格取数 双线程dp 摘要: #include #include using namespace std; int map[15][15]={0}; int dp[15][15][1…… 题解列表 2024年10月27日 1 点赞 0 评论 293 浏览 评分:9.9
用简单的思路解决 自定义函数之整数处理 (C语言) 摘要:解题思路:我的解题思路比较简单,具体实现方法为:1.创建一个数组,用于输入10个整数,之后将这10个整数进行排序,并储存进另一个数组里。2.此时另一个数组里的第一项为最小值,最后一项为最大值,这样就找…… 题解列表 2024年10月27日 0 点赞 1 评论 318 浏览 评分:9.9
编写题解 1078: Repairing a Road 摘要:解题思路:注意事项:要用#include<iomanip>#include<cstring>#include<cmath>#include<algorithm>c++文件头参考代码:#include<…… 题解列表 2024年10月27日 0 点赞 0 评论 295 浏览 评分:9.9
1025 数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 9 void insert(int* arr,int n,int value) //定义一个插入…… 题解列表 2024年10月27日 0 点赞 0 评论 212 浏览 评分:9.9