1099: 校门外的树 摘要:解题思路:不要重复区域就行了注意事项:参考代码:#include<stdio.h>int main(){ int m,l,i; scanf("%d",&l); int arr[l+1…… 题解列表 2024年10月25日 1 点赞 0 评论 375 浏览 评分:0.0
生日蛋糕问题用c++来实现 摘要:解题思路: 1:我们将蛋糕的每一层看作是一个圆柱体,并且用半径R和高度H来描述。2:通过给定的蛋糕体己N和层数M,我们需要找到一种制作方案,来使得蛋糕的外表面积最小。注意事项:1:在编写代码时,要注意…… 题解列表 2024年10月25日 0 点赞 3 评论 414 浏览 评分:9.0
1316: 最长不下降子序列的长度 摘要:解题思路:注意事项:参考代码:n = int(input())l = list(map(int,input().split()))memo = {}def find(i): if i in me…… 题解列表 2024年10月25日 0 点赞 0 评论 201 浏览 评分:0.0
Python "结构体"的多参数排序 摘要: from functools import cmp_to_key def cmp(a,b): if a[3] 5: for j in range(…… 题解列表 2024年10月25日 0 点赞 0 评论 204 浏览 评分:9.9
题解有点复杂(实际就是我太菜了),还是看看我这个小佝偻的吧 摘要: #include #include using namespace std; typedef pair PII; const int N=101; …… 题解列表 2024年10月25日 0 点赞 4 评论 434 浏览 评分:9.9
ctype优质实现 摘要:#include #include int main() { char ch; int ss=0,tt = 0; while (isalpha(ch = getchar())&&ch…… 题解列表 2024年10月25日 0 点赞 0 评论 113 浏览 评分:0.0
用啥写都一样 摘要:解题思路:e......注意事项:无参考代码:print(''' ******** ************ …… 题解列表 2024年10月25日 0 点赞 0 评论 272 浏览 评分:0.0
2016: 新生的入队仪式 摘要:#include int main() { long long n, m; scanf("%lld %lld", &n, &m); long long ok1 = 0,ok2=0; …… 题解列表 2024年10月25日 0 点赞 0 评论 127 浏览 评分:0.0
优质裁缝题解 摘要:#include int main() { int n; scanf("%d", &n); int sum = 0; int ok = 0; int val = 0; fo…… 题解列表 2024年10月25日 0 点赞 0 评论 131 浏览 评分:0.0
DP入门 # 2809: 菲波那契数列 摘要:``` // 注意这道题第一下项的下标为0,所以我们最后输出的是dp[n-1] #include #include #include #include using namespace …… 题解列表 2024年10月25日 1 点赞 0 评论 314 浏览 评分:0.0