优质题解 2997: 梯形面积 摘要:**在梯形中阴影部分面积是150平方厘米,求梯形面积。**  **众所周知…… 题解列表 2023年03月22日 0 点赞 2 评论 2744 浏览 评分:9.0
我不李姐为什要用k* 摘要:解题思路:模仿c++的思路写的,但还是没能很理解,不看题解自己想不出来也写不出来注意事项:参考代码:def s(n,k): if n<k or k==0:#无标记的这个没有也没想到 …… 题解列表 2023年03月22日 0 点赞 0 评论 750 浏览 评分:9.9
蓝桥杯2018年第九届真题-全球变暖(BFS) 摘要:####解题思路 BFS每次遍历一座小岛,统计小岛的陆地数量(tot),以及被水淹没的陆地数量(bou),判断小岛陆地数量与被水淹没的陆地数量是否相等(tot == bou),若是相等则小岛被淹没。…… 题解列表 2023年03月22日 0 点赞 0 评论 741 浏览 评分:9.9
LikeWater - 1095: The 3n + 1 problem 摘要:#####这题挺搞心态的,题目样例全是a小于b结果提交测试里面会有a大于b的情况,然后导致出错,要是有执拗的人不想看题解真要被折磨半天,题目应该提示一下,不然很烦。 ```cpp #inclu…… 题解列表 2023年03月22日 0 点赞 0 评论 573 浏览 评分:0.0
3002: 买图书(不用再抱怨有个测试点出错了,真正的测试点回来了——最新代码) 摘要:```cpp #include #include using namespace std; double n,m; int main() { cin>>n>>m; cout…… 题解列表 2023年03月22日 0 点赞 0 评论 704 浏览 评分:10.0
2000: 偶数列举 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; for(int i=2;i…… 题解列表 2023年03月22日 0 点赞 0 评论 541 浏览 评分:9.9
1738: 排序(c++代码) 摘要:sort函数直接排,真不错 ```cpp #include #include using namespace std; int main() { int n; whil…… 题解列表 2023年03月22日 0 点赞 3 评论 736 浏览 评分:9.0
记忆化搜索(Python题解) 摘要:解题思路:注意事项:参考代码:def dfs(n,step): for i in range(n//2+1): if exist[i]: # 存在直接用 ta…… 题解列表 2023年03月22日 0 点赞 0 评论 724 浏览 评分:0.0
求最大公约数和最小公倍数的最简逻辑!! 摘要:解题思路:之前做同样的题学到的,当时被震惊到了注意事项:参考代码:def func(a,b): s = a*b while a%b != 0: a,b=b,a%b pr…… 题解列表 2023年03月22日 0 点赞 0 评论 368 浏览 评分:0.0
用栈实现八进制转换 摘要:```c #include #include typedef struct Stack { int data[100]; int top; }*Stack,stack; //入栈 …… 题解列表 2023年03月22日 0 点赞 0 评论 726 浏览 评分:9.9