报时助手·——最朴实无华的解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string hour[]={"zero", &qu…… 题解列表 2025年04月06日 0 点赞 0 评论 184 浏览 评分:0.0
平行数组+递推 摘要:1.实在是不会找规律哈但是会模拟递归过程 反正计算是编译器的问题 关我程序设计什么事2.嵌套递归 具体表现是 n>=3:(1) An=A(n-1)+(up)A(n-2)(up这里表示上车人…… 题解列表 2025年04月06日 0 点赞 0 评论 207 浏览 评分:0.0
C++简单解法 摘要:解题思路:重要的是要有思路,题目不难,多试几次就能做出自己的正确答案注意事项:参考代码:#include<iostream>#include<math.h>using …… 题解列表 2025年04月06日 0 点赞 0 评论 264 浏览 评分:0.0
C++简单解法 摘要:解题思路:重要的是要知道该从什么时候开始循环计算,是从松手就进入循环计算,还是第一次落地后才开始循环计算,只要理解了这个,题目思路就显而易见了。注意事项:参考代码:#include<iostre…… 题解列表 2025年04月06日 0 点赞 0 评论 229 浏览 评分:0.0
考察datetime的使用 摘要:from datetime import *sta = datetime(1970, 1, 1, 0, 0, 0)for _ in range(int(input())):&n…… 题解列表 2025年04月06日 0 点赞 0 评论 411 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:注意事项:参考代码:n=input()match n: case 'A0': print(11…… 题解列表 2025年04月06日 5 点赞 0 评论 479 浏览 评分:0.0
1734: 二叉树遍历 递归 摘要:voidprintlast(stringpre,stringmid){//判空&nb…… 题解列表 2025年04月06日 0 点赞 0 评论 244 浏览 评分:0.0
1735: 树查找 完全二叉树 摘要:#include<bits/stdc++.h>usingnamespacestd;intmain(){ …… 题解列表 2025年04月06日 1 点赞 0 评论 213 浏览 评分:0.0
活动安排-排序 摘要:解题思路:题意就是求出一个时间段最多相容的数量,意味着我们只需要排序出所有时间段的顺序后按照a[i+1].first>=a[i].second就能求得最优解,按照结束的时间段排序即可测试数据:…… 题解列表 2025年04月07日 0 点赞 0 评论 522 浏览 评分:0.0
装包装箱问题(看过大佬思路后写出来的) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,f; int&n…… 题解列表 2025年04月07日 0 点赞 0 评论 212 浏览 评分:0.0