题解有点复杂(实际就是我太菜了),还是看看我这个小佝偻的吧 摘要: #include #include using namespace std; typedef pair PII; const int N=101; …… 题解列表 2024年10月25日 0 点赞 4 评论 483 浏览 评分:9.9
Python "结构体"的多参数排序 摘要: from functools import cmp_to_key def cmp(a,b): if a[3] 5: for j in range(…… 题解列表 2024年10月25日 0 点赞 0 评论 268 浏览 评分:9.9
合并石子 区间dp模板 摘要: #include using namespace std; const int N=110; int f[N][N]={0}; int s[N]={0…… 题解列表 2024年10月25日 1 点赞 0 评论 318 浏览 评分: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 评论 318 浏览 评分:9.9
数字的处理与判断python解 摘要:sd = input() print(len(sd)) print(' '.join(sd), end='') print("\n"+sd[::-1])注意事项:…… 题解列表 2024年10月26日 1 点赞 0 评论 429 浏览 评分:9.9
数字的处理与判断c语言题解 摘要:解题思路:这题可以分成三个用户自定义函数来实现3个功能注意事项:这是个人想法,没有看题解参考代码:#include <stdio.h> int Num(int sum); void separat…… 题解列表 2024年10月26日 1 点赞 0 评论 300 浏览 评分:9.9
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 668 浏览 评分:9.9
石子合并 区间DP+破环成链+max和min 摘要: #include using namespace std; const int N = 1100; int f1[N][N] = {0}; // 用于存储最大得…… 题解列表 2024年10月26日 0 点赞 0 评论 329 浏览 评分: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 评论 401 浏览 评分: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 评论 554 浏览 评分:9.9