随笔分类 -  新生专题一 搜索

D - DFS HDU - 2660
摘要:D - DFS HDU - 2660 I have N precious stones, and plan to use K of them to make a necklace for my mother, but she won't accept a necklace which is too 阅读全文

posted @ 2020-01-14 01:00 Aminers 阅读(116) 评论(0) 推荐(0)

J - 二分 POJ - 1905
摘要:J - 二分 POJ - 1905 When a thin rod of length L is heated n degrees, it expands to a new length L'=(1+nC)L, where C is the coefficient of heat expansion 阅读全文

posted @ 2020-01-13 22:16 Aminers 阅读(139) 评论(0) 推荐(0)

H - 二分+交互 Gym - 101375H
摘要:H - 二分+交互 Gym - 101375H Obs: this is an interactive problem. More information is under the "Interaction" section. MaratonIME is gathering to start ano 阅读全文

posted @ 2020-01-13 21:56 Aminers 阅读(148) 评论(0) 推荐(0)

I - 二分 HYSBZ - 1734
摘要:I - 二分 HYSBZ - 1734 Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at position 阅读全文

posted @ 2020-01-13 20:40 Aminers 阅读(117) 评论(0) 推荐(0)

F - BFS/DFS POJ - 1426
摘要:F - BFS/DFS POJ - 1426 给定一个正整数n,请编写一个程序来寻找n的一个非零的倍数m,这个m应当在十进制表示时每一位上只包含0或者1。你可以假定n不大于200且m不多于100位。 提示:本题采用Special Judge,你无需输出所有符合条件的m,你只需要输出任一符合条件的m即 阅读全文

posted @ 2020-01-13 11:05 Aminers 阅读(101) 评论(0) 推荐(0)

L - 二分??? CodeForces - 1260B
摘要:L - 二分??? CodeForces - 1260B You are given two integers aa and bb. You may perform any number of operations on them (possibly zero). During each opera 阅读全文

posted @ 2020-01-13 10:32 Aminers 阅读(124) 评论(0) 推荐(0)

A - 尺取 POJ - 3061
摘要:A - 尺取 POJ - 3061 A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 0 阅读全文

posted @ 2020-01-13 09:34 Aminers 阅读(128) 评论(0) 推荐(0)

C - DFS/BFS POJ - 1979
摘要:C - DFS/BFS 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 阅读全文

posted @ 2020-01-13 01:04 Aminers 阅读(161) 评论(0) 推荐(0)

B - DFS/BFS POJ - 2386
摘要:B - DFS/BFS 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 阅读全文

posted @ 2020-01-13 00:47 Aminers 阅读(113) 评论(0) 推荐(0)

G - BFS Gym - 101755H
摘要:题目:G - BFS Gym - 101755H You play a new RPG. The world map in it is represented by a grid of n × m cells. Any playing character staying in some cell c 阅读全文

posted @ 2020-01-13 00:31 Aminers 阅读(112) 评论(0) 推荐(0)

导航