Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers: 1. Emergency 911 2. Alice 9
Codeforces-1671 C: Dolce Vita 题目链接: Codeforces-1671 C: Dolce Vita 题目 题目截图 样例描述 题目大意 给定一个长度为 n n n 的数组 a i a_i ai,代表 n n n 个商店在第一天卖的糖果价格,在之后每过一天,每个商店糖果的价格就会 + 1 +1 +1。每个商店每天只卖一包糖果。每天给定