姓名排序-题解(C++代码) ```cpp/*题目1755:姓名排序时间限制:1Sec内存限制:32MB提交:190解决:94题目描述存储一组姓名,如Apple,Tom,Green,Jack要求按照字典序排序并显示。输入输入第一行为样例数m,对于每个样例,第一行为人数n,接下来有n个姓名,n不超过10,每个名字长度不超过20。 题解列表 2020年10月05日 0 点赞 0 评论 1666 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列-题解(C语言代码) 摘要:#include<bits/stdc++.h> using namespace std; int a[100010],dp[100010]; int n,ans=0x7fffffff+1; …… 题解列表 2020年10月05日 0 点赞 0 评论 831 浏览 评分:0.0
蓝桥杯算法提高VIP-陶陶摘苹果2-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;cin>>n;int a[n+3],sum=0,c…… 题解列表 2020年10月05日 0 点赞 0 评论 1028 浏览 评分:0.0
蓝桥杯算法提高VIP-摆花-题解(C语言代码) 摘要:#include<bits/stdc++.h> using namespace std; int n,m; int a[105],f[105]; int main(){ cin>>n>>m…… 题解列表 2020年10月05日 0 点赞 0 评论 1267 浏览 评分:0.0
蓝桥杯2013年第四届真题-错误票据-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int main(){ int n,i=…… 题解列表 2020年10月05日 0 点赞 0 评论 463 浏览 评分:0.0
蓝桥杯2013年第四届真题-剪格子-题解(C++代码)错误75%的进来看!!! 摘要:解题思路:题目要求包含左上角的元素,所以从左上角开始搜索 直到和等于总数的一半时 记录下来注意事项:一定要注意该题描述的 n和m各代表什么意思 否则就会出现75%的错误提示!!!参考代码:#inc…… 题解列表 2020年10月05日 0 点赞 0 评论 660 浏览 评分:0.0
边长判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,z; scanf("%d%d%d",&x,&y,&z); if(x>y&&x>z&&x*x==y…… 题解列表 2020年10月05日 0 点赞 0 评论 676 浏览 评分:0.0
考试评级-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,A,B,C,D; scanf("%d",&x); if(x>=80&&x<=100) prin…… 题解列表 2020年10月05日 0 点赞 0 评论 924 浏览 评分:0.0
输出M到N的数-题解(C语言代码) 摘要:解题思路:用for循环找出符合的数。注意事项:参考代码:#include <stdio.h>int main(){ int M,N,i; scanf("%d%d",&M,&N); if(M>=N) {…… 题解列表 2020年10月06日 0 点赞 0 评论 813 浏览 评分:0.0
偶数列举-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,N; scanf("%d",&N); for(i=1;i<N;i++) { if(i%2==0)…… 题解列表 2020年10月06日 0 点赞 0 评论 755 浏览 评分:0.0