码迷,mamicode.com
首页 >  
搜索关键字:life    ( 1609个结果
zsc_寒假训练 9
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:其他好文   时间:2015-01-22 14:38:12    阅读次数:187
zsc_寒假训练 9
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:其他好文   时间:2015-01-22 13:05:11    阅读次数:229
POJ 1324 Holedox Moving 贪吃蛇 状态压缩 BFS
Description During winter, the most hungry and severe time, Holedox sleeps in its lair. When spring comes, Holedox wakes up, moves to the exit of its lair, comes out, and begins its new life. Holedo...
分类:其他好文   时间:2015-01-20 10:29:05    阅读次数:193
HDU 1829 A Bug's Life (并查集)
题目链接:请戳这里。 题目大意及思路:给定n个Bugs(shen me gui)和m对Bugs之间的关系,假定关系是两个Bugs的男女关系,那么问存不存在同性恋的情况。 那么若a与b是男女关系,b与c是男女关系,那么a和c的性别我们就可以认为是相同的。我们用可以建立两个并查集,一类放男男关系,一类放女女关系。 那么若男男关系中出现了环的情况(即有共同的根),那么同性恋关系就出现了。 #in...
分类:其他好文   时间:2015-01-17 22:15:57    阅读次数:250
一个sigaction的C++ wrap
在上一篇文章(http://www.cnblogs.com/coding-my-life/p/4220128.html)中,提到了libev提供了处理信号的C++ wrap。但我显然接受不了需要进入libev的事件循环(event loop)后才能捕捉到消息的缺点。于是决定依照libev的思路自.....
分类:编程语言   时间:2015-01-17 22:07:16    阅读次数:318
Introspection of my life in 2014
2014年已过去两星期,有写年度总结的必要了。今天特意看了看去年1月5日写的2013年度总结,看看都有些什么变化。我发现每年作一次总结是很有必要的,无赖恰逢考试周,连元旦都不能好好过,更不用说写写文章了。     这一年是转折的一年:从本科变成了研究生,从学长又退化成学弟了,从新校区来到了老校区,送走了四年的老同学,也引来了新同学。时间都去哪了呢?     上半年,每天和鬼王、普哥...
分类:其他好文   时间:2015-01-16 13:05:27    阅读次数:138
Life is hard!
有的人越活越乐观,有的人越活越悲观,有的人越活越达观。有的人的路越走越窄,有的人的路越走越宽。生活的态度决定路的宽度。认真积极对待生活的人,生活回馈他的就是康庄大道;消极悲观地对待生活的人,他走的路可能是个死胡同。可能是我越来越悲观吧,我越来越认为人活在世界上就是一种修行,Life is hard!...
分类:其他好文   时间:2015-01-14 19:46:49    阅读次数:120
Goals ? Ideals ?
Why is it important to set goals ? Because goal can help you do , be , and experience anything you want in life . instead of just letting life happe.....
分类:其他好文   时间:2015-01-13 14:12:20    阅读次数:109
自我鼓励的鸡汤
Life is a journey walked by ourselves, it‘s absolutely our decisions to make. But in order not to go awry in such a long run,we always need to remember something valuable. 1) Ration.Keeping rationa...
分类:其他好文   时间:2015-01-09 15:45:21    阅读次数:169
python学习笔记之-for循环
for循环需要预先设定好循环的次数(n),然后执行隶属于for的语句n次。 基本构造是 for 元素 in 序列:      statement 举例来说,我们编辑一个叫forDemo.py的文件 for a in [3,4.4,'life']:     print a 这个循环就是每次从表[3,4.4,'life'] 中取出一个元素(回忆:表是一种序列),然后将这个...
分类:编程语言   时间:2015-01-06 23:16:02    阅读次数:343
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!