Stay Hungry,Stay Foolish!

摘要: C - Tile Distance 2 https://atcoder.jp/contests/abc359/tasks/abc359_c 思路 在x方向上,让s<t 然后 如果s在tile的左边,移动到右边, 如果t在tile的右边,移动到左边, 计算x 和 y方便的必走的steps, y方向上容 阅读全文
posted @ 2024-06-23 22:50 lightsong 阅读(12) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel