小朋友排队 (归并排序) 摘要: #include using namespace std; typedef long long ll; const int N = 1e5 + 10; …… 题解列表 2025年01月15日 0 点赞 0 评论 680 浏览 评分:0.0
c++++++++++++++++++++++++ 摘要:includeincludeincludeincludeinclude // 包含 pairusing namespace std;int main() { ve…… 题解列表 2025年01月15日 0 点赞 0 评论 558 浏览 评分:0.0
高精度回文数 摘要:解题思路:判断是否为字符串是否为回文数其实就是将该字符串反转比较是否相同就行,还有就是高精度的加法运算要会```cpp#include #include #include …… 题解列表 2025年01月15日 0 点赞 0 评论 815 浏览 评分:0.0
高精度除法 摘要:思路:见代码注释,按位相减注意:被除数小于除数的情况,以及余数为0的情况```cpp#include #include #include using namespace s…… 题解列表 2025年01月15日 1 点赞 1 评论 775 浏览 评分:10.0
幸运儿问题模拟求解 解题思路:注意事项:参考代码:#include#include#includeintmain(){intn,*people;while(scanf("%d",&n)!=EOF){people=(int*)malloc(sizeof(int)*n 题解列表 2025年01月14日 0 点赞 0 评论 462 浏览 评分:0.0
简单易于理解的整数处理问题——Python 摘要:a=list(map(int,input().split()))m1=max(a)m2=min(a)b=a.index(m1)c=a.index(m2)a[b]=a[-1]a[…… 题解列表 2025年01月14日 0 点赞 0 评论 605 浏览 评分:0.0
Python | 生成器 摘要:### yieldfrom运用在dfs问题 2038: [简化型背包]([简化型背包](https://www.dotcpp.com/vipstudy_suanfa/problem/?id=203…… 题解列表 2025年01月14日 1 点赞 0 评论 378 浏览 评分:10.0
编写题解 1004: [递归]母牛的故事(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int sum[55];&nb…… 题解列表 2025年01月14日 48 点赞 1 评论 2456 浏览 评分:10.0
最普通的数组解法 解题思路:#include#includeintmain(){chararr[100];inti=0;scanf("%s",arr);for(i=0;i 题解列表 2025年01月14日 0 点赞 0 评论 697 浏览 评分:0.0 python|sys.stdin 摘要:```pythonimport sysfrom collections import Counter# python可能超时过不了全部,使用sys.stdin一次all in输入数据,…… 题解列表 2025年01月14日 1 点赞 0 评论 357 浏览 评分:10.0 « 12...227228229230231232233...59115912 »
python|sys.stdin 摘要:```pythonimport sysfrom collections import Counter# python可能超时过不了全部,使用sys.stdin一次all in输入数据,…… 题解列表 2025年01月14日 1 点赞 0 评论 357 浏览 评分:10.0