03 2012 档案
摘要:Gnome3中删减了很多原先麻烦(其实也不是很麻烦T_T)的操作。比如安装gnome shell只需要去gnome网站一键点击即可。这些简化了gnome的配置,赞一个。在安装gnome界面后需要的配置如下,备忘一下:0. 安装gnome, 就不吐嘈unity了...sudo add-apt-repository ppa:gnome3-team/gnome3sudo apt-get updatesudo apt-get dist-upgradesudo apt-get install gnome-shell1. 安装GNOME Tweak Tool, 通过这个东东来对gnome进行定制sudo
阅读全文
摘要:1025: LC-DisplayResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K2251642StandardA friend of you has just bought a new computer. Until now, the most powerful computer he ever used has been a pocket calculator. Now, looking at his new computer, he is a bit disappointed, because he liked the LC
阅读全文
摘要:1019: Do the UntwistResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K1151641StandardCryptographydeals with methods of secret communication that transform a message (theplaintext) into a disguised form (theciphertext) so that no one seeing the ciphertext will be able to figure out the plainte
阅读全文
摘要:2528: SaveResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE1s65536K461162Standard津津的零花钱一直都是自己管理。每个月的月初妈妈给津津300元钱,津津会预算这个月的花销,并且总能做到实际花销和预算的相同。 为了让津津学习如何储蓄,妈妈提出,津津可以随时把整百的钱存在她那里,到了年末她会加上20%还给津津。因此津津制定了一个储蓄计划:每个月的月初,在得到妈妈给的零花钱后,如果她预计到这个月的月末手中还会有多于100元或恰好100元,她就会把整百的钱存在妈妈那里,剩余的钱留在自己手中。 例如11月初津津手中还有83元
阅读全文
摘要:搜了一下这个问题,貌似诡异的同学不多(只有stackoverflow上有个类似的),难道是我的设定有问题...CB默认添加类时会生成一个src文件夹存放成员函数定义,如建一个type的类,type.cpp在这里面。另外生成include文件夹及type.h头文件。此时,什么都不改动,编译,提示找不到type.h...明明是默认建立,为什么找不到...暂时不明原因但是有解决方案,在建立类时把file policy中的header and implementation file在一个文件夹选中,此时就能找到type.h了。
阅读全文
摘要:由于Codeblocks默认编辑框是超亮的白色,晚上关灯后很废眼睛,遂重新配置一下,使其更加护眼。CB默认并不提供主题包之类的东东,所以只能手动配置Setting->editor,或者直接修改conf文件。在Linux中,用户主目录下~/.codeblocks中有这个配置文件,default.conf,打开后将以下写好的配置文件写进去(最好备份一下原文件)在Windows中,这个文件好像是/appdata/中的codeblock目录下下面提供的主题来自著名的Oblivion。http://lkraider.eipper.com.br/blog/2008/11/codeblocks-obl
阅读全文
摘要:环境是Ubuntu11.10,由于开通了校园网,配置一下才可以使用。1. 配置IP等使用命令 sudo gedit /etc/network/interface由于使用校园网,直接注释掉原有的所有内容,添加学校(网络管理员)给的IP等信息:auto eth0 #开机自动激活网卡iface eth0 inet staticaddress x.x.x.x #IP地址netmask x.x.x.x #子网掩码gateway x.x.x.x #网关2. 配置DNS使用命令 sudo vi /etc/resolv.confsearch test.comname...
阅读全文

浙公网安备 33010602011771号