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

原创 1029. Median (25) @ PAT (Advanced Level) Practise

这题还算简单,很明显是用归并排序,其它排序可能会超时,另外,要用stdio,不然也会超时。还有就是注意是long,int会产生错误 。 #include #include using namespace std; int main() { long N,M,m; vector v1,v2; scanf("%ld",&N); v1.resize(N); f

2013-09-08 09:31:32 449

原创 1028. List Sorting (25) @ PAT (Advanced Level) Practise

水题,注意点:1 我用iostream会有一个case超时 2 id要用char *  而不是用int,不知道为什么~ #include #include #include #include using namespace std; struct Record { char id[7]; char name[8]; int mark; }; bool cmp

2013-09-07 20:35:27 539

原创 1027. Colors in Mars (20) @ PAT (Advanced Level) Practise

水题 #include #include using namespace std; vector transfer(int i) { int tmp; vector result; while(i>12) { tmp=i%13; result.push_back(tmp>9?('A'+tmp-10):('0'+tmp)); i/=13; } result.push_ba

2013-09-07 15:16:47 529

原创 1026. Table Tennis (30) @ PAT (Advanced Level) Practise

附AC的链接 http://blog.csdn.net/ryvipa/article/details/8584282 26分,有2个case答案错误 #include #include #include #include using namespace std; int N,K,M; int lfh,lfm,lfs; struct Table { int h,m,s; b

2013-09-07 14:40:20 569

原创 ubuntu 13.04安装JDK & android studio

首先安装Jdk 将jdk装在/usr/lib/jvm 下比较好,否则在打开android studio时会出错 http://stackoverflow.com/questions/16576355/plugin-com-intellij-failed-to-initialize-and-will-be-disabled-null JDK下载地址http://www.orac

2013-09-01 16:53:44 701

effective java chm

effective java chm. 中文版 面对 Java,可从两方面看待,是语言,是平台。本书谈的是 Java 语言,以 我所言种种,也是指Java语言。

2012-10-24

空空如也

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

TA关注的人

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