玩具谜题
摘要:
首先这道题就是一个大模拟,只需要简单的优化即可。 不开long long见祖宗。 优化:朝外向左与朝内向右是一样的方向,反之亦然,因此模拟判断过程。 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> # 阅读全文
posted @ 2020-10-12 18:54 fishsit 阅读(67) 评论(0) 推荐(0) 编辑
posted @ 2020-10-12 18:54 fishsit 阅读(67) 评论(0) 推荐(0) 编辑
posted @ 2020-10-12 18:42 fishsit 阅读(66) 评论(0) 推荐(0) 编辑
posted @ 2020-10-12 16:22 fishsit 阅读(123) 评论(0) 推荐(0) 编辑
posted @ 2020-10-12 15:24 fishsit 阅读(117) 评论(0) 推荐(0) 编辑
posted @ 2020-10-12 15:04 fishsit 阅读(195) 评论(0) 推荐(0) 编辑