摘要: There are NN different kinds of transport ships on the port. The i^{th}ith kind of ship can carry the weight of V[i]V[i] and the number of the i^{th}i 阅读全文
posted @ 2018-09-15 19:56 StarHai 阅读(554) 评论(0) 推荐(0) 编辑
摘要: Problem Description I used to think I could be anything, but now I know that I couldn't do anything. So I started traveling.The nation looks like a co 阅读全文
posted @ 2018-09-15 19:49 StarHai 阅读(212) 评论(0) 推荐(0) 编辑
摘要: After eating food from Chernobyl, DRD got a super power: he could clone himself right now! He used this power for several times. He found out that thi 阅读全文
posted @ 2018-09-15 19:38 StarHai 阅读(209) 评论(0) 推荐(0) 编辑
摘要: God Water likes to eat meat, fish and chocolate very much, but unfortunately, the doctor tells him that some sequence of eating will make them poisono 阅读全文
posted @ 2018-09-15 19:28 StarHai 阅读(606) 评论(0) 推荐(0) 编辑
摘要: Bob is a sorcerer. He lives in a cuboid room which has a length of AA, a width of BB and a height of CC, so we represent it as AA * BB * CC. One day, 阅读全文
posted @ 2018-09-15 19:24 StarHai 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that 阅读全文
posted @ 2018-09-15 19:22 StarHai 阅读(719) 评论(0) 推荐(0) 编辑
摘要: There are NN children in kindergarten. Miss Li bought them NN candies. To make the process more interesting, Miss Li comes up with the rule: All the c 阅读全文
posted @ 2018-09-15 19:18 StarHai 阅读(381) 评论(0) 推荐(0) 编辑
摘要: A prince of the Science Continent was imprisoned in a castle because of his contempt for mathematics when he was young, and was entangled in some math 阅读全文
posted @ 2018-09-15 19:13 StarHai 阅读(611) 评论(0) 推荐(0) 编辑
摘要: Jessie has a magic mirror. Every morning she will ask the mirror: 'Mirror mirror tell me, who is the most beautiful girl in the world?' If the mirror 阅读全文
posted @ 2018-09-15 19:10 StarHai 阅读(501) 评论(0) 推荐(0) 编辑