自定义博客皮肤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)
  • 收藏
  • 关注

原创 区间素数筛选法 joj 1928 Prime Distance

1928: Prime DistanceResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K7223StandardThe branch of mathematics called number theory is about propertie

2011-10-31 14:03:03 695 1

原创 poj 1328 贪心

Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28579 Accepted: 6263DescriptionAssume the coasting is an infinite straight line. Land is

2011-10-29 13:13:51 479

原创 01背包问题中恰好为重量T

重量恰好为T:#include #include #include #include using namespace std;int T,M;int t[101];int m[101];int d[101][1001];int max;int main (){    while(scanf("%d%d",&T,&M)==2)    {

2011-10-28 12:12:20 605

原创 POJ 1007 DNA Sorting

DNA SortingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 59510 Accepted: 23481DescriptionOne measure of ``unsortedness'' in a sequence is the number o

2011-10-27 15:09:35 312

原创 归并排序求逆序数

#include #include #include using namespace std;int cnt;void mergesort(int i,int j,int *a,int *b){    if(j-i>1)    {        int m=(i+j)/2;        mergesort(i,m,a,b);        merges

2011-10-27 14:11:30 296

空空如也

空空如也

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

TA关注的人

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