摘要: def robot(command, obstacles, x, y): xx = 0 yy = 0 tmp = [] for c in command: if c == 'U': yy += 1 if c == 'R': xx += 1 tmp.append([xx, yy]) #print(tm 阅读全文
posted @ 2022-05-21 02:56 王毅2016 阅读(60) 评论(0) 推荐(0) 编辑