纪念品分组 (C语言代码) 摘要:解题思路:手写快排+贪心注意事项:参考代码:#include<stdio.h>int b[30001];void quiksort(int a[],int low,int high){ int …… 题解列表 2018年02月09日 0 点赞 0 评论 1000 浏览 评分:0.0
蓝桥杯算法训练VIP-阶乘 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int n,i; int j=1; scanf("%d",&n); for(i=2;i<=n;i++) { …… 题解列表 2018年02月09日 1 点赞 0 评论 1076 浏览 评分:0.0
开心的金明 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int v[30],p[30];long long x[30001];int main(){ int n,m,i,j,k; scanf(…… 题解列表 2018年02月09日 0 点赞 0 评论 1245 浏览 评分:0.0
明明的随机数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[101];int n,sum;void swap(int *a,int *b){ int t; t=*a;*a=*b;*b=…… 题解列表 2018年02月09日 0 点赞 0 评论 1161 浏览 评分:0.0
蓝桥杯算法训练VIP-提货单 (C语言代码) 摘要:#include<stdio.h>typedef struct prut { char mc[101]; double dj; int sl;}prut;int main(){ int n,i;…… 题解列表 2018年02月09日 1 点赞 0 评论 1034 浏览 评分:2.0
蓝桥杯算法提高VIP-进制转换 (C语言代码)666 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; scanf("%x",&s); printf("%X %d %o",s,s,s); return …… 题解列表 2018年02月09日 2 点赞 3 评论 1339 浏览 评分:9.9
2004年秋浙江省计算机等级考试二级C 编程题(1) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a[10],i,mini=0; …… 题解列表 2018年02月09日 0 点赞 0 评论 797 浏览 评分:0.0
C二级辅导-阶乘数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double m=0,j,c; in…… 题解列表 2018年02月09日 0 点赞 0 评论 778 浏览 评分:0.0
C二级辅导-统计字符 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>using namespace std;int main(){ char a; int q,w,e,r…… 题解列表 2018年02月09日 2 点赞 0 评论 1373 浏览 评分:0.0
C二级辅导-公约公倍 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,m,n,f; cin>>m>>n; for(i=n;i>0…… 题解列表 2018年02月09日 0 点赞 0 评论 707 浏览 评分:0.0