自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 HDU1006

#include #include #include #include #include #include using namespace std; double d; struct interval { double left; double right; }; interval solve(double a,double b){//解方程 //Angle<=v*t+a<=360-

2016-01-29 21:25:38 316

原创 HDU1004

#include #include #include #include using namespace std; int main() { int t; while(cin>>t) { if(t==0) break; string color[1001]; for(int i=0;i<t;i++) { cin>>color[i]; } sort(colo

2016-01-28 18:59:14 298

原创 HDU1003 动态规划入门经典题

#include using namespace std; int main() { int t; cin>>t; for(int i=0;i<t;i++)//这道题要求连续区间所求和最大,则每次累加的值必须是正数,才能达到和最大 { int temp,result,pos=0,start=0,end=0; //result代表所求的最大和 int n,a; cin>>n;

2016-01-27 22:52:32 291

原创 HDU1002

#include using namespace std; int main() { int t; cin>>t; for(int i=1;i<=t;i++) { string str1,str2; cin>>str1>>str2; string s1=str1,s2=str2; int len1=str1.size(),len2=str2.size(); if

2016-01-27 17:23:52 221

原创 各整形的数据范围

unsigned   int   0~4294967295  (2^32-1)     int                -2147483648~2147483647  (-(2^31-1)~2^31-1) unsigned long  0~4294967295  (2^32-1) long                 -2147483648~2147483647 (-(2^31-1

2016-01-24 17:28:10 636

原创 大数乘法a*b

Description Given two positive integers a and b, please help us calculate a*b. Input The first line of the input is a positive integer T. T is the number of test cases followed. Each test ca

2016-01-18 20:35:03 299

原创 初次使用结构体解决学生成绩排列问题

Sorting students on grades Description Rewrite Listing 6.12, GradeExam.cpp, to display the students in increasing order of  the number of correct answers.  Suppose the answers for all student

2016-01-06 17:10:51 724

转载 用归并排序处理逆序对问题

首先了解一下什么是逆序对, 对于一个包含N个非负整数的数组A[1..n],如果有i A[ j ],则称(A[ i] ,A[ j] )为数组A中的一个逆序对。 例如,数组(3,1,4,5,2)的逆序对有(3,1),(3,2),(4,2),(5,2),共4个。 然后了解一下什么是归并排序: void Merge(int a[] , int low, int mid, int

2016-01-03 00:19:12 759 1

锋利的jQuery第二版源码

锋利的jQuery第二版源码。《锋利的jQuery》是人民邮电出版社在2009年6年出版的一本书籍。本书循序渐进地对jQuery的各种函数和方法调用进行了介绍,读者可以系统地掌握jQuery的DOM操作、事件监听和动画、表单操作、AJAX以及插件方面等知识点,并结合每个章节后面的案例演示进行练习,达到掌握核心知识点的目的

2017-09-20

空空如也

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

TA关注的人

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