最普通的数组解法 解题思路:#include#includeintmain(){chararr[100];inti=0;scanf("%s",arr);for(i=0;i 题解列表 2025年01月14日 0 点赞 0 评论 697 浏览 评分: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 评论 606 浏览 评分:0.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 高精度回文数 摘要:解题思路:判断是否为字符串是否为回文数其实就是将该字符串反转比较是否相同就行,还有就是高精度的加法运算要会```cpp#include #include #include …… 题解列表 2025年01月15日 0 点赞 0 评论 815 浏览 评分:0.0 c++++++++++++++++++++++++ 摘要:includeincludeincludeincludeinclude // 包含 pairusing namespace std;int main() { ve…… 题解列表 2025年01月15日 0 点赞 0 评论 559 浏览 评分:0.0 小朋友排队 (归并排序) 摘要: #include using namespace std; typedef long long ll; const int N = 1e5 + 10; …… 题解列表 2025年01月15日 0 点赞 0 评论 681 浏览 评分:0.0 黑白棋子的移动 简单递归一下下就好了 嘿嘿 摘要:解题思路: …… 题解列表 2025年01月16日 0 点赞 0 评论 474 浏览 评分:0.0 筛选N以内的素数python 摘要:n=int(input())for i in range(2,n): for j in range(2,i): if i%j==0: brea…… 题解列表 2025年01月16日 1 点赞 0 评论 854 浏览 评分:0.0 [NOIP2004]合并果子 优先队列 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年01月16日 0 点赞 0 评论 429 浏览 评分:0.0 简单易于理解的母牛递归问题——Python 摘要:defcow(n):ifn<=4:&nbs…… 题解列表 2025年01月16日 0 点赞 0 评论 907 浏览 评分:0.0 « 12...5746574757485749575057515752...59115912 »
简单易于理解的整数处理问题——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 评论 606 浏览 评分:0.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
高精度回文数 摘要:解题思路:判断是否为字符串是否为回文数其实就是将该字符串反转比较是否相同就行,还有就是高精度的加法运算要会```cpp#include #include #include …… 题解列表 2025年01月15日 0 点赞 0 评论 815 浏览 评分:0.0
c++++++++++++++++++++++++ 摘要:includeincludeincludeincludeinclude // 包含 pairusing namespace std;int main() { ve…… 题解列表 2025年01月15日 0 点赞 0 评论 559 浏览 评分:0.0
小朋友排队 (归并排序) 摘要: #include using namespace std; typedef long long ll; const int N = 1e5 + 10; …… 题解列表 2025年01月15日 0 点赞 0 评论 681 浏览 评分:0.0
筛选N以内的素数python 摘要:n=int(input())for i in range(2,n): for j in range(2,i): if i%j==0: brea…… 题解列表 2025年01月16日 1 点赞 0 评论 854 浏览 评分:0.0
[NOIP2004]合并果子 优先队列 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年01月16日 0 点赞 0 评论 429 浏览 评分:0.0