09 2014 档案

摘要:DescriptionDr lee cuts a string S into N pieces,s[1],…,s[N]. Now, Dr lee gives you these N sub-strings: s[1],…s[N]. There might be several possibiliti... 阅读全文
posted @ 2014-09-28 20:09 Joyee 阅读(1117) 评论(0) 推荐(0)
摘要:DescriptionCraig is fond of planes. Making photographs of planes forms a major part of his daily life. Since he tries to stimulate his social life, an... 阅读全文
posted @ 2014-09-28 20:04 Joyee 阅读(358) 评论(0) 推荐(0)
摘要:DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the ... 阅读全文
posted @ 2014-09-28 19:59 Joyee 阅读(577) 评论(0) 推荐(0)
摘要:DescriptionIn the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is written a positive integer. Play... 阅读全文
posted @ 2014-09-26 22:08 Joyee 阅读(2151) 评论(0) 推荐(0)
摘要:DescriptionDNA (Deoxyribonucleic acid) is founded in every living creature as the storage medium for genetic information. It is comprised of subunits ... 阅读全文
posted @ 2014-09-24 23:05 Joyee 阅读(1333) 评论(0) 推荐(0)
摘要:写这篇随笔的动机是之前实习的时候出了自定义皮肤的需求,但是由于整个项目一开始前端基础就没打好,导致很多地方根本无法由前端程序猿控制,最后需要后端进行大量的重复劳动。在实习期间通勤的时候我一直在看Pro CSS for High Traffic Websites,结合里面的经验加上自己的思考就有了这篇... 阅读全文
posted @ 2014-09-24 01:48 Joyee 阅读(665) 评论(0) 推荐(0)
摘要:最近在看JavaScript框架设计,在讲解类型判定的时候提到了一些“匪夷所思的情况”,不过没有明说都是什么时候会出现这些情况。自己玩儿了一下,写写随笔吧。不过可能除了我找到的,还有会其他时候会出现这些诡异的现象2333问题:在JavaScript中,什么时候会出现a !== aa == b && ... 阅读全文
posted @ 2014-09-18 23:57 Joyee 阅读(357) 评论(0) 推荐(0)
摘要:jQuery UI下被拖动的元素上飘症状出现在几乎所有浏览器里。使用 1.10.x 的draggable,在滚动栏下移(即非处于页面顶部)的时候拖动draggable的元素,它会向上跳一段距离。解决办法是将jQuery UI 1.10.x的_convertPositionTo() 和 _genera... 阅读全文
posted @ 2014-09-10 02:10 Joyee 阅读(864) 评论(0) 推荐(0)