1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 0 点赞 0 评论 149 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录(python) 摘要:## 1050: [编程入门]结构体之成绩记录 对python来说还是很好实现的 ~~~python for i in range(int(input())): print(','…… 题解列表 2024年10月24日 0 点赞 0 评论 254 浏览 评分: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 评论 186 浏览 评分:0.0
捏马马的,怎么要分组输出啊?!(点击看优质题解 摘要:解题思路:总体来说没什么难点,硬要说的话,主要在于需要升序输出箭失长度和需要分组输出,而不是几组合在一起然后一次性输出注意事项:分组降序输出!以及输出完每组的箭矢后需要清空map容器中的内容,当然,如…… 题解列表 2024年10月24日 0 点赞 0 评论 159 浏览 评分: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 评论 196 浏览 评分: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 评论 250 浏览 评分: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 评论 226 浏览 评分:0.0
while+for : 2833: 金币 摘要:``` #include using namespace std; int main() { int n; cin >> n; //IDX:用来表示当前发多少硬币 …… 题解列表 2024年10月25日 0 点赞 0 评论 161 浏览 评分:0.0
哈希法,map+vector法# 2974: 统计字符数 摘要:[TOC] # 哈希法 ``` #include #include using namespace std; //统计每个字符出现的次数,因为有26个字母,所以开到26 int …… 题解列表 2024年10月25日 0 点赞 0 评论 121 浏览 评分:0.0
冒泡排序# 信息学奥赛一本通T1310-车厢重组 摘要:``` #include #include #include using namespace std; const int N = 1e4 + 10; int a[N]; int…… 题解列表 2024年10月25日 1 点赞 0 评论 242 浏览 评分:0.0