金明的预算方案(DP) 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;constintN…… 题解列表 2024年10月23日 0 点赞 0 评论 165 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取(python) 摘要:#### 1033: [编程入门]自定义函数之字符提取 可以采用关键字`in`来查询指定字符是否存在于指定字符串中,如果字符串中存在指定字符则返回True,如果不存在则返回False。 …… 题解列表 2024年10月24日 0 点赞 0 评论 218 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝(python) 摘要:1048: [编程入门]自定义函数之字符串拷贝 从索引`m-1`开始切片即可 ~~~pythjon input() s = input() m = int(input()) print…… 题解列表 2024年10月24日 0 点赞 0 评论 191 浏览 评分:0.0
1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 0 点赞 0 评论 165 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录(python) 摘要:## 1050: [编程入门]结构体之成绩记录 对python来说还是很好实现的 ~~~python for i in range(int(input())): print(','…… 题解列表 2024年10月24日 0 点赞 0 评论 267 浏览 评分:0.0
1067: 二级C语言-分段函数(python) 摘要:[1067:二级C语言-分段函数](https://www.dotcpp.com/oj/problem1067.html?sid=18062507&lang=6#editor) ~~~pyth…… 题解列表 2024年10月24日 0 点赞 0 评论 201 浏览 评分:0.0
捏马马的,怎么要分组输出啊?!(点击看优质题解 摘要:解题思路:总体来说没什么难点,硬要说的话,主要在于需要升序输出箭失长度和需要分组输出,而不是几组合在一起然后一次性输出注意事项:分组降序输出!以及输出完每组的箭矢后需要清空map容器中的内容,当然,如…… 题解列表 2024年10月24日 0 点赞 0 评论 173 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],b=0,c=10,d=0,i; for( i=0;i<c;i++) { …… 题解列表 2024年10月24日 0 点赞 0 评论 231 浏览 评分:0.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],b[100],n,i; scanf("%d",&n); for( i=0…… 题解列表 2024年10月24日 0 点赞 0 评论 265 浏览 评分:0.0
2837: 年龄与疾病(超简单思路) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[100]; double n,b=0,c=0,d=0,f=0,sum1=0,sum2…… 题解列表 2024年10月24日 0 点赞 0 评论 245 浏览 评分:0.0