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

原创 VS的臃肿

2009-09-04 23:21:00 645 1

原创 SRM 114 DIV2 [550]

2009-08-26 23:20:00 522

原创 我是为了拿积分发的

2009-08-05 17:19:00 563 4

原创 SRM 397 DIV2 [1000]

#includeiostream>#includevector>#includeset>#includealgorithm>using namespace std;class CollectingMarbles ...{public:    int mostMarbles(vectorint>, int, int);    int run(int, int, int);};int dp[819

2008-05-02 00:12:00 453

原创 SRM 400 DIV2 [500]

#includeiostream>#includestring>#includevector>#includeset>#includealgorithm>#includememory.h>#includecmath>#includecstdio>using namespace std;long long num;bool is(int p,int q)...{    long long tem

2008-05-01 23:59:00 516

原创 SRM 400 DIV2 [250]

#includeiostream>#includevector>#includecmath>using namespace std;class GrabbingTaxi...{public:    int minTime(vector int> tXs, vector int> tYs, int gX, int gY, int walkTime, int taxiTime)    ...{  

2008-05-01 23:57:00 452

原创 SRM 397 DIV2 [500]

 #includeiostream>#includequeue>#includevector>#includeset>#includealgorithm>using namespace std;vectorint> swap(vectorint> a,int beg,int len)...{    int mid=len/2,end=beg+len-1;;    for (int i=0;

2008-04-28 19:18:00 482

原创 SRM 387 DIV2 [600]

#includeiostream>#includestring>#includevector>using namespace std;class MarblesRegroupingEasy...{public:    int minMoves(vectorstring> boxes)    ...{        int res,len;        res=boxes.size()-1; 

2008-04-27 19:32:00 503

原创 字符串的展开

 2.     字符串的展开(expand.pas/c/cpp)【问题描述】在初赛普及组的“阅读程序写结果”的问题中,我们曾给出一个字符串展开的例子:如果在输入的字符串中,含有类似于“d-h”或者“4-8”的字串,我们就把它当作一种简写,输出时,用连续递增的字母获数字串替代其中的减号,即,将上面两个子串分别输出为“defgh”和“45678”。在本题中,我们通过增加一些参数的设

2008-04-26 16:49:00 2301

原创 简单数列

111211211111221找出上面数列的规律,设计一个程序能输出这个数列的前N项(N=20)解答:数列规律:第一行:1,没什么好说的第二行:11,"1"个"1"第三行:21,"2"个"1"第四行:1211,"1"个"2"和"1"个"1"第五行:111221,"1"个"1"、"1"个"2"和"2"个"1"明白了吧,很简单所以,第六行就是312211,"3"个"1"、"2"个"2"和"1"个"

2008-04-26 16:32:00 511

原创 高精计算

 高精计算编写一个以字符串为基础进行整数加法的一个程序。这个整数包含符号位,总长不超过255位(因为某些语言的字符串有长度限制)。输入文件格式:两行,每行为一个长度不超过255的十进制数。可以是负的,负号算一位,既负数的数字部分不超过254位。in.txt输出文件格式:一行,得数。out.txt#includefstream>#includevector>#includestrin

2008-04-26 16:30:00 372

原创 SRM 387 DIV2 [250]

#includeiostream>#includevector>using namespace std;class GuessingNextElement...{public:    int guess(vectorint> A)    ...{        if (A[1]-A[0]==A[2]-A[1])...{            return A[A.size()-1]+A[1]-

2008-04-26 16:24:00 612

原创 SRM 399 DIV2 [250]

#includeiostream>#includevector>using namespace std;class CircularLine...{public:    int longestTravel(vectorint> t)    ...{        int len=t.size();        int longest=0;        for (int i=0;i!=len

2008-04-26 15:05:00 435

原创 SRM 398 DIV2 [250]

#includeiostream>#includealgorithm>#includevector>using namespace std;class MinDifference...{public:    int closestElements(int A0,int X,int Y,int M,int n)    ...{        vectorint> ivec(n);        

2008-04-26 13:46:00 376

原创 SRM 397 DIV 2 [250]

#includeiostream>#includestring>#includemap>using namespace std;class BreakingTheCode...{public:    string decodingEncoding(string code,string message)    ...{        string res;        string aa[]=

2008-04-25 17:34:00 405

原创 SRM 114 DIV2 [550]

#includeiostream>#includevector>#includestring>using namespace std;class BinaryCode...{public:    vectorstring> decode(string message)    ...{        vectorstring> temp;        temp.push_back(messag

2008-04-25 17:27:00 383

原创 SRM 114 DIV 2 [200]

#includeiostream>#includestring>#includecstdlib>using namespace std;class Time...{public:    string whatTime(int seconds)    ...{        int h,m,s;        h=seconds/3600;        seconds=seconds%3600

2008-04-25 17:25:00 404

3D俄罗斯方块 Direct3D 个人完成

3D俄罗斯方块 3D俄罗斯方块 3D俄罗斯方块 3D俄罗斯方块

2010-04-22

数据挖掘:概念与技术.pdf

数据挖掘:概念与技术.pdf数据挖掘:概念与技术.pdf

2009-07-08

The C++ Programming Language Special 3rd Edition

The C++ Programming Language Special 3rd Edition

2007-11-04

空空如也

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

TA关注的人

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