自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 九度OJ--大整数排序

搞了将近半个小时才搞定这道题,好久不练了,手生了。#include#include#includeusing namespace std;const int maxn=1000+12;struct num{ char name[maxn]; int len;};num number[100+5];int cmp(const void *a,const

2012-06-20 22:54:18 360

原创 浙大复试上机--zoj 问题

#include#include#include#include#includeusing namespace std;const int maxn=1000+5;char str[maxn];int main(){ while(scanf("%s",str)!=EOF) { int len=strlen(str); int su

2012-02-26 11:24:40 257

原创 ICPC-ACM

#include#include#includeusing namespace std;int main(){ int k;scanf("%d",&k);if(k>3||k<3||k==3)printf("adhere to ICPC-ACM programming.\n"); return 0;}

2011-12-28 13:17:42 188

转载 Programming Contest Problem Types

Programming Contest Problem TypesHal Burch conducted an analysis over spring break of 1999 and made an amazing discovery: there are only 16 types of programming contest problems! Furthermore

2011-12-26 12:46:18 216

原创 堆和栈在内存分配方面有什么不同?

堆:一般由程序员分配和释放,如果程序员没有释放,则由操作系统释放。和数据结构中的堆不是一回事,分配方式类似于链表。可能用到的关键字:free,malloc,new,delete等。栈:一般由编译器分配和释放,存放函数的参数值,或者局部变量的值,操作方式类似于数据结构中的栈。

2011-12-25 21:03:39 197

原创 ACM-beginning

<br />ACM 启程

2011-05-11 21:04:00 134

空空如也

空空如也

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

TA关注的人

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