摘要: D. String GameLittle Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for he 阅读全文
posted @ 2019-09-18 20:17 pengge666 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 题目:给你n个数,每个数为ai​,现在有m个询问,每个询问l,r,需要求出:代表ai​在这个区间中出现的次数。 题目链接:https://ac.nowcoder.com/acm/contest/1085/G 输入: 输出: 参考博客:1.https://www.cnblogs.com/MisakaA 阅读全文
posted @ 2019-09-18 11:29 pengge666 阅读(236) 评论(0) 推荐(0) 编辑
摘要: D. Colorful PointsYou are given a set of points on a straight line. Each point has a color assigned to it. For point a, its neighbors are the points w 阅读全文
posted @ 2019-09-18 09:43 pengge666 阅读(132) 评论(0) 推荐(0) 编辑