摘要: 题目描述 There are N boxes arranged in a circle. The i-th box contains Ai stones. Determine whether it is possible to remove all the stones from the boxes 阅读全文
posted @ 2018-04-19 23:27 house_cat 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 题目描述 There are N squares aligned in a row. The i-th square from the left contains an integer ai. Initially, all the squares are white. Snuke will perf 阅读全文
posted @ 2018-04-19 22:56 house_cat 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You are given an integer sequence x of length N. Determine if there exists an integer sequence a that satisfies all of the following conditions, 阅读全文
posted @ 2018-04-19 22:38 house_cat 阅读(445) 评论(0) 推荐(0) 编辑