合并石子 区间dp模板 摘要: #include using namespace std; const int N=110; int f[N][N]={0}; int s[N]={0…… 题解列表 2024年10月25日 1 点赞 0 评论 350 浏览 评分:9.9
2773计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, ya, xb, yb; scanf("%lf %lf\n%…… 题解列表 2024年10月26日 0 点赞 0 评论 353 浏览 评分:9.9
数字的处理与判断python解 摘要:sd = input() print(len(sd)) print(' '.join(sd), end='') print("\n"+sd[::-1])注意事项:…… 题解列表 2024年10月26日 1 点赞 0 评论 470 浏览 评分:9.9
数字的处理与判断c语言题解 摘要:解题思路:这题可以分成三个用户自定义函数来实现3个功能注意事项:这是个人想法,没有看题解参考代码:#include <stdio.h> int Num(int sum); void separat…… 题解列表 2024年10月26日 1 点赞 0 评论 322 浏览 评分:9.9
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 708 浏览 评分:9.9
石子合并 区间DP+破环成链+max和min 摘要: #include using namespace std; const int N = 1100; int f1[N][N] = {0}; // 用于存储最大得…… 题解列表 2024年10月26日 0 点赞 0 评论 389 浏览 评分: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 评论 426 浏览 评分: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 评论 610 浏览 评分:9.9
苦思很久题解的做法发现是题意有偏差(无语死啦) 摘要:### 好的,吐槽开始(~~本题数据太水,题目描述应该不只两种电池,但是数据只有3小时和5小时的电池种类~~) #####以下是我对于题目的理解,刚开始我还以为是我的语文功底太差,导致对于题目的理解…… 题解列表 2024年10月27日 1 点赞 0 评论 422 浏览 评分:9.9
一元二次方程方程求根 摘要:解题思路:应用到数学知识分情况讨论b^2-4*a*c即Delta的情况Delta大于等于0时情况较简单应用到求根公式Delta小于0时涉及到共轭复根注意事项:使用到pow();sqrt()函数参考代码…… 题解列表 2024年10月27日 3 点赞 0 评论 1160 浏览 评分:9.9