摘要: 网上看到的一个贪吃蛇程序,修复了一些bug(如可以直接转反方向,苹果与蛇重叠,撞到自身不会死亡等),下面是源代码。---------------------------------------------------------------------------------------------... 阅读全文
posted @ 2015-06-02 17:42 OZTOET 阅读(328) 评论(0) 推荐(0)
摘要: A. Mike and Faxtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputWhile Mike was walking in the ... 阅读全文
posted @ 2015-06-02 17:05 OZTOET 阅读(284) 评论(0) 推荐(0)
摘要: B. Mike and Funtime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputMike and some bears are playi... 阅读全文
posted @ 2015-06-02 11:45 OZTOET 阅读(155) 评论(0) 推荐(0)