链表合并排序,之前一直用列表干不下来字典又不会 摘要:解题思路:注意事项:参考代码:a={}b={}n,m=map(int,input().split())for i in range(n): h,s=map(int,input().split()…… 题解列表 2023年04月15日 0 点赞 0 评论 350 浏览 评分:0.0
编写题解 1490: 蓝桥杯算法提高VIP-五次方数 摘要:解题思路:在2~999999中这个数的每一位的五次方相加最终结果是否等于数本身,是则输出。注意事项:参考代码:#include<iostream> #include<cmath> using na…… 题解列表 2023年04月15日 0 点赞 0 评论 314 浏览 评分:0.0
2920: 分数线划定 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int m,n,k=0; scanf("%d…… 题解列表 2023年04月15日 0 点赞 0 评论 383 浏览 评分:0.0
3034: 自然数的拆分 摘要:```cpp #include using namespace std; int a[1001]={1},f,b[1001],k,n; void out(int t){//输出函数 …… 题解列表 2023年04月15日 0 点赞 0 评论 608 浏览 评分:6.7
1716: 数据结构-快速排序 摘要:```cpp #include using namespace std; int get_mid(int arr[],int left,int right) { int pivot=…… 题解列表 2023年04月15日 0 点赞 0 评论 564 浏览 评分:9.9
1296: 牛棚回声 摘要:```cpp #include using namespace std; int max_match(string s1, string s2) { int len1=s1.leng…… 题解列表 2023年04月15日 0 点赞 0 评论 487 浏览 评分:9.9
1294: 木瓜地 摘要:```cpp #include using namespace std; int main() { int m,n,a[41][41],i,j,k,l; while(sca…… 题解列表 2023年04月15日 0 点赞 0 评论 449 浏览 评分:9.9
1291: 外星人的密码数字 摘要:```cpp #include #include using namespace std; int main() { string rule,str; cin>>rule…… 题解列表 2023年04月15日 0 点赞 0 评论 521 浏览 评分:9.9
1290: 奶牛的锻炼 摘要:```cpp #include #include using namespace std; const int N=10500,M=550; int dp[N][M],d[N],n,m; …… 题解列表 2023年04月15日 0 点赞 0 评论 611 浏览 评分:8.7
1289: N的-2进制表示 摘要:```cpp #include using namespace std; int main() { int i=0,num; char str[128]={'\0',}; …… 题解列表 2023年04月15日 0 点赞 0 评论 379 浏览 评分:9.9