自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(5)
  • 收藏
  • 关注

转载 字符串处理 算法提高 身份证号码升级http://lx.lanqiao.cn/problem.page?gpid=T325

#include <stdio.h>#include <string.h>int main(){ long long int a,b,c,d,n=0,m,l=16; char o; int A[17]={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2};//用数组储存 scanf("%...

2016-12-13 21:02:00 215

转载 字符串处理 吃糖果http://acm.hdu.edu.cn/showproblem.php?pid=1205

//注意 只要除数目最多多糖果以外的其他所有糖果的数目之和加一大于数目最多的这种糖果数目,就能吃完,否则不能。#include <stdio.h>int main(){ int a,b,c,d=0; scanf("%d",&a);//输入循环次数 while (a--) { scanf("%d",&b...

2016-12-13 20:11:00 70

转载 字符串处理 吃鸡腿http://acm.hdu.edu.cn/showproblem.php?pid=4525

这个题目需要简化,就是上一次的和乘上(k1+k2),a1*k1+a1*k2+a2*k1+a2*k2....=sum(k1*k2)#include <stdio.h>int main(){ int t, T, n, i; double k1, k2, k, sum;//不要忘记忽略小数 int a[10010]; ...

2016-12-13 13:32:00 142

转载 字符串处理 为什么时光不能倒流http://acm.hdu.edu.cn/showproblem.php?pid=4510

#include<stdio.h>int main(){ int a,b,c; int d,e,f; int m,n,t,s,h,k,l; scanf("%d",&t);//输入运行的次数 while(t--)//循环t次 { scanf("%d:%d:%d %d:%d:%d",...

2016-12-13 12:28:00 66

转载 字符串处理 最佳裁判http://acm.hdu.edu.cn/showproblem.php?pid=4520

#include <stdio.h>int main(){ int N; scanf("%d",&N);//先输入 double a[N],b[N],c,d=0,o[N-1],e,f;//这里定义3个数组下面会用到 for (int i=0; i<N; i++) { scanf("%lf",&...

2016-12-12 21:07:00 72

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除