12 2017 档案

摘要:之前面试的时候,面试官问我的一个题目, 问:一个人在w*h的地图上走,每次走一步,先向左走到头,然后向下走,然后向上走,然后向左走,不能重复,求n步所在的位置 如下: 它会依次输出1-64, 阅读全文
posted @ 2017-12-19 15:40 无工时代 阅读(424) 评论(0) 推荐(0) 编辑
摘要:class _Getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportEr... 阅读全文
posted @ 2017-12-06 19:33 无工时代 阅读(1332) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示