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

转载 Eclipse乱码解决方案总结(UTF-8 <---> GBK)

UTF8 --> GBK;   GBK --> UTF8eclipse的中文乱码问题,一般不外乎是由操作系统平台编码的不一致导致,如Linux中默认的中文字体编码问UTF8, 而Windows默认的中文编码为GBK,因此将Linux和Windows下的eclipse/Myeclipse项目源码在不同平台间的拷贝,都会出现乱码,原因就是中文字符编码的不一致。 解决办法1:

2016-05-29 17:37:04 528

原创 Ubuntu输入密码后进不去系统

在网上搜索后找到的结果:1)、进入系统(在输入密码的那个界面)2)、按住Ctrl+Alt+F1(F1~F7分别是不同的模式,前6个是控制台模式)3)、点击Enter键后,根据提示,输入用户名和密码4)、进入etc目录(cd etc)5)、编辑profile文件(/usr/bin/sudo vi profile)6)、删除或改正自己添加的出问题的代码7)、保存并退出8

2016-05-24 21:41:17 2972

原创 1020. Tree Traversals (25)

My code:# include # include # include using namespace std;struct Node{ Node *lchild; Node *rchild; int cc;} tree[31];int size;int d1[31],d2[32];queue q;Node *creat(){ tr

2015-04-09 20:21:58 313

原创 1051. Pop Sequence (25)

My code:# include # include # include using namespace std;stackint> s;int main(){ int n,m,k,ans[1010]; while(scanf("%d%d%d",&m,&n,&k)==3) { //memset(ans,0,sizeof(ans));

2015-04-09 20:17:23 319

原创 1055. The World's Richest (25)

My code:# include # include # include using namespace std;struct Rich{ char name[10]; int age; int mm; bool operator const Rich &A) const{ if(mm != A.mm) return mm > A.

2015-04-09 20:13:59 404

原创 1053 path of equal weight

My code:# include # include # include # include # include using namespace std;struct node{ int seq,ww;}c_id[110];vectorint> v[110];int l,s,ans,sum,dd[110],dis[110],end_w[110][11

2015-04-09 20:04:35 372

Think in Pattern

2016-08-15

Linux内核图解

该文件包含了45张关于Linux内核结构的图,对于正在学习Linux的朋友很有帮助的。

2015-04-09

空空如也

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

TA关注的人

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