摘要:
#include int chang(int x,int s){ if(x==1) return s; else if(x==2) return s+1; else if(x%2!=0){ s+=(x-1)/2; return chang((x+1)/2,s); ... 阅读全文
摘要:
安装Eclipse: 第一种是通过Ubuntu自带的程序安装功能安装Eclipse,应用程序 ->Ubtuntu软件中心,搜Eclipse安装即可。第二种方法是用命令:应用程序->附件->终端 然后输入(中间可能需要你输入密码):sudo apt-get install eclipsesudo ap 阅读全文
摘要:
sudo vi /var/lib/locales/supported.d/local#添加下面的中文字符集zh_CN.GBK GBKzh_CN.GB2312 GB2312zh_CN.GB18030 GB18030使其生效:sudo dpkg-reconfigure localesvim:打开vim的 阅读全文