编写题解 2664: 蓝桥杯2022年第十三届省赛真题-求和(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int n;&nb…… 题解列表 2025年01月13日 7 点赞 0 评论 842 浏览 评分:10.0
题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long …… 题解列表 2025年01月13日 1 点赞 0 评论 375 浏览 评分:10.0
python|sys.stdin 摘要:```pythonimport sysfrom collections import Counter# python可能超时过不了全部,使用sys.stdin一次all in输入数据,…… 题解列表 2025年01月14日 1 点赞 0 评论 250 浏览 评分:10.0
编写题解 1004: [递归]母牛的故事(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int sum[55];&nb…… 题解列表 2025年01月14日 46 点赞 1 评论 2312 浏览 评分:10.0
Python | 生成器 摘要:### yieldfrom运用在dfs问题 2038: [简化型背包]([简化型背包](https://www.dotcpp.com/vipstudy_suanfa/problem/?id=203…… 题解列表 2025年01月14日 1 点赞 0 评论 268 浏览 评分:10.0
高精度除法 摘要:思路:见代码注释,按位相减注意:被除数小于除数的情况,以及余数为0的情况```cpp#include #include #include using namespace s…… 题解列表 2025年01月15日 1 点赞 1 评论 606 浏览 评分:10.0
简单易懂 给个赞 嘻嘻 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fact(int n);int main(){ int n; // n 是空的汽水瓶 while (1) { s…… 题解列表 2025年01月16日 2 点赞 0 评论 686 浏览 评分:10.0
迭代法求平方根python 摘要:参考代码:a=int(input())b=awhile True: c=(b+a/b)/2 if abs(b-c)<0.00001: …… 题解列表 2025年01月16日 1 点赞 0 评论 790 浏览 评分:10.0
简单易于理解的字符串提取问题——Python 摘要:a=eval(input())b=list(input())c=eval(input())foriinb[c-1:]:&nb…… 题解列表 2025年01月16日 1 点赞 0 评论 518 浏览 评分:10.0
简单易于理解的天数问题——Python 摘要:a,b,c=map(int,input().strip().split())m=[31,28,31,30,31,30,31,…… 题解列表 2025年01月16日 1 点赞 0 评论 380 浏览 评分:10.0