POJ
caorui_blog
这个作者很懒,什么都没留下…
展开
-
Lake Counting POJ - 2386
Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 100; 1 <= M <= 100) squares. Each square contains...原创 2019-08-07 23:31:07 · 68 阅读 · 0 评论 -
Smallest Difference POJ - 2718
Given a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in some order. The remaining digits can be written down in some orde...原创 2019-08-27 21:35:16 · 124 阅读 · 0 评论 -
Fence Repair POJ - 3253
Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needsN(1 ≤N≤ 20,000) planks of wood, each having some integer lengthLi(1 ≤Li...原创 2019-08-15 19:48:19 · 100 阅读 · 0 评论 -
Saruman's Army POJ - 3069
ithinRunits of some palantir.InputThe input test file will contain multiple cases. Each test case begins with a single line containing an integerR, the maximum effective range of all palantirs ...原创 2019-08-15 18:43:19 · 102 阅读 · 0 评论 -
2019CCPC网络赛——1003——K-th occurrence
K-th occurrenceTime Limit: 5000/5000 MS (Java/Others)Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 0Accepted Submission(s): 0Problem DescriptionYou are given a st...原创 2019-08-23 22:54:21 · 803 阅读 · 0 评论 -
2019 CCPC网络赛——1007——Windows Of CCPC
Windows Of CCPCTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0Accepted Submission(s): 0Problem DescriptionIn recent years, CCPC h...原创 2019-08-23 22:51:16 · 545 阅读 · 0 评论 -
Meteor Shower POJ - 3669
Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will crash into earth and destroy anything they hit. Anxious for her safety, she vows to find her way to a sa...原创 2019-08-10 15:30:26 · 162 阅读 · 0 评论 -
Red and Black POJ - 1979
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he c...原创 2019-08-08 13:17:20 · 184 阅读 · 0 评论 -
Ants POJ - 1852
题目:一队蚂蚁在一根水平杆上行走,每只蚂蚁固定速度 1cm/s. 当一只蚂蚁走到杆的尽头时,立即从秆上掉落. 当两只蚂蚁相遇时它们会掉头向相反的方向前进. 我们知道每只蚂蚁在杆上的初始位置, 但是, 我们不知道蚂蚁向哪个方向前行. 你的任务是计算所有蚂蚁都杆上掉落可能的最短时间和最长时间.Input第一行包含一个整数,给出测试实例数量. 每组数据开始有两个整数: 杆的长度 (单位:...原创 2019-08-05 18:31:15 · 204 阅读 · 0 评论 -
Backward Digit Sums POJ - 3187
FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numbers to produce a new list with one fewer number. ...原创 2019-08-28 00:18:58 · 102 阅读 · 0 评论