AtCoder ARC 076E - Connected?
摘要:
平面上有一个R×C的网格,格点上可能写有数字1~N,每个数字出现两次。现在用一条曲线将一对相同的数字连接,对于数字1~N。试判断是否存在一种连接方式,使得曲线不越过矩形网格边界,且曲线之间不相交? 阅读全文
posted @ 2017-10-29 21:23 SiuGinHung 阅读(277) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 21:23 SiuGinHung 阅读(277) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 21:19 SiuGinHung 阅读(321) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 21:06 SiuGinHung 阅读(326) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 19:46 SiuGinHung 阅读(473) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 19:32 SiuGinHung 阅读(292) 评论(0) 推荐(0) 编辑
posted @ 2017-10-29 14:17 SiuGinHung 阅读(639) 评论(0) 推荐(0) 编辑