Loading

上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 75 下一页
摘要: E. Count The Blocks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You wrote down all i 阅读全文
posted @ 2020-03-25 14:07 脂环 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Petya has a rectangular Board of size n×mn×m . Initially, kk chips are placed on the board, ii -th chip is located in the cell at the intersection of 阅读全文
posted @ 2020-03-25 00:40 脂环 阅读(303) 评论(0) 推荐(0) 编辑
摘要: The King of Berland Polycarp LXXXIV has nn daughters. To establish his power to the neighbouring kingdoms he wants to marry his daughters to the princ 阅读全文
posted @ 2020-03-24 19:57 脂环 阅读(214) 评论(0) 推荐(0) 编辑
摘要: You are given two integers nn and kk. Your task is to find if nn can be represented as a sum of kk distinct positive odd (not divisible by 22) integer 阅读全文
posted @ 2020-03-24 16:22 脂环 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 题目描述 在大学里每个学生,为了达到一定的学分,必须从很多课程里选择一些课程来学习,在课程里有些课程必须在某些课程之前学习,如高等数学总是在其它课程之前学习。现在有 NNN 门功课,每门课有个学分,每门课有一门或没有直接先修课(若课程a是课程b的先修课即只有学完了课程a,才能学习课程b)。一个学生要 阅读全文
posted @ 2020-03-23 11:55 脂环 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 题目背景 随着新版百度空间的上线,Blog 宠物绿豆蛙完成了它的使命,去寻找它新的归宿。 题目描述 给出张 nnn 个点 mmm 条边的有向无环图,起点为 111,终点为 nnn,每条边都有一个长度,并且从起点出发能够到达所有的点,所有的点也都能够到达终点。 绿豆蛙从起点出发,走向终点。 到达每一个 阅读全文
posted @ 2020-03-22 20:38 脂环 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There is a cave consisting of NN rooms and MM one-directional passages. The rooms are numbered 11 through NN . Takahashi is now in R 阅读全文
posted @ 2020-03-22 17:16 脂环 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Takahashi will take part in an eating contest. Teams of NN members will compete in this contest, and Takahashi's team consists of NN 阅读全文
posted @ 2020-03-22 00:53 脂环 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 题目描述 某大学有 nnn 个职员,编号为 1…n1\ldots n1…n。 他们之间有从属关系,也就是说他们的关系就像一棵以校长为根的树,父结点就是子结点的直接上司。 现在有个周年庆宴会,宴会每邀请来一个职员都会增加一定的快乐指数 rir_iri​,但是呢,如果某个职员的直接上司来参加舞会了,那么 阅读全文
posted @ 2020-03-21 18:54 脂环 阅读(229) 评论(0) 推荐(0) 编辑
摘要: There are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. With the help 阅读全文
posted @ 2020-03-20 01:06 脂环 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 75 下一页