好久没有出来了,也好久没有一个人出来了,好久没有晚上一个人出来了!
2010年十一前后
天冷了!树叶也随着秋风散落下来!家里也该秋收了,上月月底,给家里打个电话,其实我不想回家!找个理由就不回去了!
早上当所有人还在沉睡,电话的震动,震到整个枕头都在颤!5点,母亲发来短信,还是想让我回家,电话里说不用回,短信却还是让我回。
这次,我还是找个理由留下了,留在学校里! 阅读全文 ……
我只想要自己的爱情
我知道,爱情这个神圣的名词,对于我这个穷人家的孩子而言,是个奢侈品,是个高消费的东西。?
但是,23岁的我,想要一次真正自己的爱情了。也许是无知爱情为何物,或者是对 爱充满了好奇。抑或是因为大学里的寂寞,或是我本身性格的愿意,不愿意与外界基础。每天面对机器的我烦了。? 阅读全文 ……
请证明 37^500-37^100 一定是10的倍数。
欧拉定理 对任何两个互质的正整数a, m, m>=2有 a^φ(m)≡1(mod m) 设a=37,m=10; 那么φ(m) =4; 那么 37^4≡1(mod 10); 根据费马小定理推论 a^p^k ≡ a mod p 那么 (37^4)^100≡1(mod 10); 即37^400≡1(mod 10); ================= 37^500-37^100=37^100*(37^400-1); 后面不写了。
第4题
Problem
You live in a 2-dimensional plane, and one of your favourite places to visit is the Hall of Mirrors. The Hall of Mirrors is a room (a 2-dimensional room, of course) that is laid out in a grid. Every square on the grid contains either a square mirror, empty space, or you. You have width 0 and height 0, and you are located in the exact centre of your grid square.
Despite being very small, you can see your reflection when it is reflected back to you exactly. For example, consider the following layout, where?'#'
?indicates a square mirror that completely fills its square,?'.'
?indicates empty space, and the capital letter?'X'
indicates you are in the center of that square:
###### #..X.# #.#..# #...## ######
If you look straight up or straight to the right, you will be able to see your reflection.
Unfortunately in the Hall of Mirrors it is very foggy, so you can’t see further than?D?units away. Suppose?D=3. If you look up, your reflection will be 1 unit away (0.5 to the mirror, and 0.5 back). If you look right, your reflection will be 3 units away (1.5 to the mirror, and 1.5 back), and you will be able to see it. If you look down, your reflection will be 5 units away and you won’t be able to see it. 阅读全文 ……
第3题
Problem
Do you ever become frustrated with television because you keep seeing the same things, recycled over and over again? Well I personally don’t care about television, but I do sometimes feel that way about numbers.
Let’s say a pair of distinct positive integers (n,?m) is?recycled?if you can obtain?m?by moving some digits from the back of?n?to the front without changing their order. For example, (12345, 34512) is a recycled pair since you can obtain 34512 by moving 345 from the end of 12345 to the front. Note that?n?and?m?must have the same number of digits (excluding leading zeros) in order to be a recycled pair. 阅读全文 ……
第2题
Problem
You’re watching a show where Googlers (employees of Google) dance, and then each dancer is given a?triplet of scores?by three judges. Each triplet of scores consists of three integer scores from 0 to 10 inclusive. The judges have very similar standards, so it’ssurprising?if a triplet of scores contains two scores that are 2 apart. No triplet of scores contains scores that are more than 2 apart. 阅读全文 ……
eclipse vi插件的安装
1、下载viPlugin下载地址:http://www.viplugin.com/
2在 eclipse 目录下面,新建?viPlugin2.lic ,然后写如下面内容:
vimPlugin是eclipse下的vim插件,很好用
q1MHdGlxh7nCyn_FpHaVazxTdn1tajjeIABlcgJBc20
3保存,重启 eclipse 即可!
规划自己职业生涯–做个架构师
十余年的学生时代结束了,两年多的大学就要结束了。终于,自己也如愿的进入自己喜欢的计算机领域。成为了,一名,准程序员。每天,读计算机的书,看计算机的新闻,论坛,博客,写着经理给布置的任务代码。but,我只是一个码农。
不想你辈子做码农,不想碌碌无为的工作。每天想法的程序员,就像黑客帝国里没有被解救的尼奥,也许只是被利用的电池。
规划自己的职业生涯,给自己一个目标,不为眼前短暂的花花世界迷惑。也不为安逸的生活萎靡自己。
我给自己定位,5年,成为zhangziyou,android的架构师。5年,对于程序员来讲,太短暂,每天做同样的工作,做写同样的代码,永远没有进步,只有用不止步,才能成就自己。 阅读全文 ……
android4.04如何root
刚更新的4.0.4,发现没有root了,没关系。root一下就行了。肯能也被枷锁了,那就解锁吧。
解锁方法,工具,见上一篇文章。
root方法
root前请一定要备份,必须的
教程:在关机的情况下,最好是拨电池,再装上,为了保证手机完全关机。
然后同时长按音量上键+电源键
然后连接电脑,电脑里面点击解压出来的文件:一键unlock.bat或者unlock.bat
然后手机上面音量上下是选择,电源键是确认 选择YES
然后电脑里面再点击:一键recovery.bat或者recovery.bat
然后选择recovery 进去一个介面选择reboot system now 重启手机就可以了
注意,一键unlock.bat一定会删除手机中所有数据,一定要备份,必须备份
4.11 root 方法同上 工具