摘要:
A B Problem Statement You are given an integer sequence of length N, a1,a2,…,aN. For each 1≤i≤N, you have three choices: add 1 to ai, subtract 1 from 阅读全文
posted @ 2017-09-02 23:36
樱花落舞
阅读(1169)
评论(0)
推荐(0)
摘要:
From beginning till end, this message has been waiting to be conveyed. For a given unordered multiset of n lowercase English letters ("multi" means th 阅读全文
posted @ 2017-09-02 18:39
樱花落舞
阅读(187)
评论(0)
推荐(0)
摘要:
Connect the countless points with lines, till we reach the faraway yonder. There are n points on a coordinate plane, the i-th of which being (i, yi). 阅读全文
posted @ 2017-09-02 18:18
樱花落舞
阅读(234)
评论(0)
推荐(0)
摘要:
Where do odds begin, and where do they end? Where does hope emerge, and will they ever break? Given an integer sequence a1, a2, ..., an of length n. D 阅读全文
posted @ 2017-09-02 18:07
樱花落舞
阅读(207)
评论(0)
推荐(0)