自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (4)
  • 收藏
  • 关注

原创 HDU 2019

/* 问题:数列有序,在数列中按固定顺序插入数字 author:Alex*/#include#define MAX_N 101void swap(int * string,int n);int main(){ int n,m; int count; int string[MAX_N]; while(scanf("%d%d",&n,&m),n||m)// { for(

2016-05-11 23:40:14 227

原创 HDU 2055

/* @问题:an easy problem @time:20160502 @author:alex*/#include#include#define FX_BASE 1int main(){ int T=0; int y=0; char x=0; int fx=0; while(scanf("%d",&T)!=EOF) { while(T--) { g

2016-05-02 17:28:52 282

原创 HDU 2010

/************************************************************************* > File Name: 2010.c > Author:Alex > mail: 892364432@qq.com > Created Time: 2016年05月01日 星期日 22时44分43秒 ***

2016-05-01 23:55:10 223

原创 HDU 2006

#include#includeint main(){ int n; int count; int * Num = NULL; int product; while(scanf("%d",&n)!=EOF) { Num = (int *)malloc(n*sizeof(int)); if(NULL == Num) { exit(1); } produc

2016-04-30 16:20:15 232

原创 HDU 2017

/* @问题:字符串统计 @Time:20160417-20:06 @Author:*/#include#define MAX_S 1000int main(){ int n; int count; int number; char string[MAX_S]; while(scanf("%d",&n)!=EOF) { while(n--) { nu

2016-04-27 22:27:53 221

原创 HDU 2093

/* @问题:考试排名 @time:20160426 @author:alex 结构体 成员为指针时需要初始化动态分配地址*/#include#include#include//#define ext_input typedef struct ranking{ char name[20]; char acMessage[100]; int ac_count;

2016-04-27 00:19:05 464

原创 HDU 2041

/* 问题:走楼梯(递归算法) Time:20160403 author:Alex*/#include #define MAX_N 41//递归算法,n的次数可由n-1与n-2来决定_int64 Step_cal(int M){ int step; _int64 Dp[MAX_N]={0,0,1,2}; if(M < 4) { printf("%I64d\n",D

2016-04-25 21:37:17 185

原创 HDU 2034

/* @问题:求{A}-{B}的集合 @Time:20160423-0:35 @Author:Alex*/#include#includevoid sort(int * string,int length){ int i=0,j=0; int temp=0; for(i=0;i<length-1;i++) { for(j=i+1;j*(string+j)) {

2016-04-23 00:34:23 292

原创 HDU 2033

/* @问题:人见人爱a+b @time:20160421 @Author:alex*/#includetypedef struct time{ int hour; int minute; int second;} timeFormat;int main(){ timeFormat A,B,SUM; int T; while(scanf("%d",&T) != E

2016-04-21 20:50:59 245

原创 HDU 2078

/* @问题:复习时间 @time:20160420 @Author:alex*/#include#include//n中选m个的组合方法个数//Cn_m= n!/(m!*(n-m)!)//int Cn_m(int n,int m)//{// int element=1,denominator=1;// int count;// for(count=n-m+1;coun

2016-04-20 21:30:55 341

原创 HDU 2089

/* @问题:不要62 @time:20160419 @Author:Alex @数位DP*/#include#include//数位DP算法int dp[10][10];void Digital(){ int i=0,j=0,k=0; memset(dp,0,sizeof(dp)); dp[0][0] = 1; for(i=1;i<=7;i++) { fo

2016-04-19 22:36:46 189

原创 hdu 2032

#include#includevoid PascalsTriangle(int n){ int i=0,j=0; int string[31][31]={0}; assert(n>=1 && n<=30); for(i=0;i<n;i++) { for(j=0;j<=i;j++) { if(0 == j) { string[i][j] = 1;

2016-04-18 21:48:55 196

原创 HDU 2090

/* @问题;算菜价 @Time:20160413-20:24 @Author:alex*/#include typedef struct DishType{ char name[100]; double number; double value;} dishTypeInfo;int main(){ double sum=0; int count=0; dishT

2016-04-17 21:23:42 248

原创 HDU 2071

/* @问题:最高身高 @Time:20160412-21:29 @Author:Alex*/#include #include //#define ext_inputint main(){ int t=0; int n=0; int count; double Max_height = 0; double * string = NULL;#ifdef ext_inp

2016-04-16 11:59:13 226

原创 HDU 2083

/*@问题:N个点的最短距离和@Time:20160415@Author:Alex找到中间坐标点*/#include #include #include void sort(int *string,int n);int main(){int M;int N;int count;int Minddle_val = 0;int S

2016-04-16 11:48:17 244

原创 HDU 2073

/*@问题:计算折线路径距离(无限的路)@Time:20160416@Author:Alex@分析:这个线段距离原点的长可分为两部分。第一部分是无点的线段,长度依次为√(0^2+1^2)、√(1^2+2^2)、√(2^2+3^2)……√((n-1)^2+n^2)这个n的值刚好为这一点的横纵坐标之和;第二部分是有点的线段,这个很容易发现长度依次为√2、2√2、3√2、……(m

2016-04-16 11:45:55 319

原创 大学一个值得珍惜的地方

有很多人看到这么一个标题也许会这么认为是不是太书生气,从学校的“老油条”到职场的“新兵”,这个过程中不免有太多的感触。“所谓大学者,非有大楼之谓也,而有大师之谓也”--所以大学主要所注重的是人。在这个小型的“社会”当中,聚集着形形色色的人,比如:“学神”、“学霸”、“学渣”、“技术牛人”、“社交达人”、“游戏狂人”等等,在这些复杂的分类当中都聚集着一拨人,在这批人当中有的人会为了自己的

2014-11-03 00:25:55 485

项目管理模板

针对项目计划中指派的任务内容进行针对性的任务规划与管理,实现在excel进行任务跟进的编写模板。

2018-03-06

运算放大器的单电源供电

文章讲述设计运放时,运算放大器的单电源供电的一些特性分析。

2014-07-28

国赛步进电机控制底层

步进电机 控制 任意角度 以及转速控制

2013-08-18

空空如也

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

TA关注的人

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