上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 45 下一页
摘要: E . You promised your girlfriend a rounded cake with at least SSS strawberries. But something goes wrong, you don't have the final cake but an infinit 阅读全文
posted @ 2018-09-13 16:32 楼主好菜啊 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 当set存的是一个结构体时,若想用 find 函数,应在结构体内部写一个函数 阅读全文
posted @ 2018-09-11 21:39 楼主好菜啊 阅读(195) 评论(0) 推荐(0) 编辑
摘要: A . After Incident, a feast is usually held in Hakurei Shrine. This time Reimu asked Kokoro to deliver a Nogaku show during the feast. To enjoy the sh 阅读全文
posted @ 2018-09-10 20:05 楼主好菜啊 阅读(345) 评论(0) 推荐(0) 编辑
摘要: B. Feeling hungry, a cute hamster decides to order some take-away food (like fried chicken for only 303030 Yuan). However, his owner CXY thinks that t 阅读全文
posted @ 2018-09-05 20:53 楼主好菜啊 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 题目链接 Problem StatementWe will define the median of a sequence b of length M, as follows: Let b' be the sequence obtained by sorting b in non-decreasin 阅读全文
posted @ 2018-08-29 17:55 楼主好菜啊 阅读(298) 评论(0) 推荐(0) 编辑
摘要: The Power Cube is used as a stash of Exotic Power. There are n cities numbered 1,2,…,n where allowed to trade it. The trading price of the Power Cube 阅读全文
posted @ 2018-08-27 17:05 楼主好菜啊 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 题目描述 你有一个N*N的棋盘,每个格子内有一个整数,初始时的时候全部为0,现在需要维护两种操作: 命令 参数限制 内容 1 x y A 1<=x,y<=N,A是正整数 将格子x,y里的数字加上A 2 x1 y1 x2 y2 1<=x1<= x2<=N 1<=y1<= y2<=N 输出x1 y1 x 阅读全文
posted @ 2018-08-24 19:08 楼主好菜啊 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Description 有n朵花,每朵花有三个属性:花形(s)、颜色(c)、气味(m),用三个整数表示。 现在要对每朵花评级,一朵花的级别是它拥有的美丽能超过的花的数量。 定义一朵花A比另一朵花B要美丽,当且仅Sa>=Sb,Ca>=Cb,Ma>=Mb。 显然,两朵花可能有同样的属性。需要统计出评出每 阅读全文
posted @ 2018-08-24 15:50 楼主好菜啊 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 推荐博客 : https://blog.csdn.net/wu_tongtong/article/details/78785836 https://www.cnblogs.com/mlystdcall/p/6219421.html 其实可以先引一下偏序 一维偏序 : 给定 n 个数字,求比某一个数字 阅读全文
posted @ 2018-08-24 15:49 楼主好菜啊 阅读(429) 评论(0) 推荐(0) 编辑
摘要: B . Problem DescriptionChiaki has n strings s1,s2,…,sn consisting of '(' and ')'. A string of this type is said to be balanced:+ if it is the empty st 阅读全文
posted @ 2018-08-24 09:09 楼主好菜啊 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 45 下一页