摘要: HihoCoder 1509 Given a sequence a[1..n], you need to calculate how many integers S satisfy the following conditions: (1). 0 ≤ S typedef long long ll; 阅读全文
posted @ 2018-07-30 09:54 cifiyoo 阅读(130) 评论(0) 推荐(0) 编辑
摘要: CodeForces 1005D Polycarp likes numbers that are divisible by 3. He has a huge number s. Polycarp wants to cut from it the maximum number of numbers t 阅读全文
posted @ 2018-07-30 09:42 cifiyoo 阅读(293) 评论(0) 推荐(0) 编辑
摘要: CodeForces 1006D You are given two strings a and b consisting of lowercase English letters, both of length n. The characters of both strings have indi 阅读全文
posted @ 2018-07-30 09:28 cifiyoo 阅读(205) 评论(0) 推荐(0) 编辑