上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: Anton likes to play chess. Also, he likes to do programming. That is why he decided to write the program that plays chess. However, he finds the game 阅读全文
posted @ 2017-08-02 19:50 西北会法语 阅读(136) 评论(0) 推荐(0) 编辑
摘要: The Enterprise is surrounded by Klingons! Find the escape route that has the quickest exit time, and print that time. Input is a rectangular grid; eac 阅读全文
posted @ 2017-08-02 19:49 西北会法语 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 假设: S1 = 1 S2 = 12 S3 = 123 S4 = 1234 ......... S9 = 123456789 S10 = 1234567891 S11 = 12345678912 ............ S18 = 123456789123456789 .............. 阅读全文
posted @ 2017-08-02 19:48 西北会法语 阅读(122) 评论(0) 推荐(0) 编辑
摘要: There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on every floor.The lift have just two 阅读全文
posted @ 2017-08-02 19:47 西北会法语 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 对于csuxushu来说,能够在CSU(California State University)上学是他一生的荣幸,而换校区搬寝室则是他最大的不幸。顺利通过省赛选拔,开心的csuxushu现在需要着手准备搬家事宜。 对于好学的csuxushu来说,唯一头疼的就是书籍的搬运了,因为他的书实在是太多了。 阅读全文
posted @ 2017-08-01 16:53 西北会法语 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 追逐影子的人,自己就是影子。 ——荷马 Allison 最近迷上了文学。她喜欢在一个慵懒的午后,细细地品上一杯卡布奇诺,静静地阅读她爱不释手的《荷马史诗》。但是由《奥德赛》和《伊利亚特》组成的鸿篇巨制《荷马史诗》实在是太长了,Allison 想通过一种编码方式使得它变得短一些。 一部《荷马史诗》中有 阅读全文
posted @ 2017-08-01 16:52 西北会法语 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequence P = p1 p2...pn where pi i 阅读全文
posted @ 2017-08-01 16:51 西北会法语 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob play 5-in-a-row game. They have a playing field of size 10 × 10. In turns they put either crosses or noughts, one at a time. Alice puts 阅读全文
posted @ 2017-08-01 16:50 西北会法语 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Array of integers is unimodal, if: it is strictly increasing in the beginning; after that it is constant; after that it is strictly decreasing. The fi 阅读全文
posted @ 2017-08-01 16:48 西北会法语 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea 阅读全文
posted @ 2017-08-01 16:47 西北会法语 阅读(126) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页