摘要: C - ID Time limit : 2sec / Memory limit : 1024MB Score: 300 points Problem Statement In Republic of Atcoder, there are N prefectures, and a total of M 阅读全文
posted @ 2018-11-04 23:47 樱花落舞 阅读(480) 评论(0) 推荐(0) 编辑
摘要: B - Palace Time limit : 2sec / Memory limit : 1024MB Score: 200 points Problem Statement A country decides to build a palace. In this country, the ave 阅读全文
posted @ 2018-11-04 23:40 樱花落舞 阅读(340) 评论(0) 推荐(0) 编辑
摘要: A - Discount Fare Time limit : 2sec / Memory limit : 1024MB Score: 100 points Problem Statement There is a train going from Station A to Station B tha 阅读全文
posted @ 2018-11-04 23:38 樱花落舞 阅读(271) 评论(0) 推荐(0) 编辑
摘要: A chess knight can move as indicated in the chess diagram below: . This time, we place our chess knight on any numbered key of a phone pad (indicated 阅读全文
posted @ 2018-11-04 15:17 樱花落舞 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Write a class RecentCounter to count recent requests. It has only one method: ping(int t), where t represents some time in milliseconds. Return the nu 阅读全文
posted @ 2018-11-04 15:13 樱花落舞 阅读(393) 评论(0) 推荐(0) 编辑