传送门:http://codeforces.com/contest/1105/problem/C C. Ayoub and Lost Array time limit per test 1 second memory limit per test 256 megabytes input standa ...
分类:
其他好文 时间:
2019-01-21 21:02:46
阅读次数:
206
C. Ayoub and Lost Array Ayoub had an array 𝑎 of integers of size 𝑛 and this array had two interesting properties: All the integers in the array were ...
分类:
其他好文 时间:
2019-01-21 13:45:51
阅读次数:
107
题目描述 Farmer John and his cows are planning to leave town for a long vacation, and so FJ wants to temporarily close down his farm to save money in the ...
分类:
其他好文 时间:
2019-01-19 11:27:42
阅读次数:
184
题目描述 Farmer John has N cows that need to be milked (1 <= N <= 10,000), each of which takes only one unit of time to milk. Being impatient animals, som ...
分类:
其他好文 时间:
2019-01-17 21:17:25
阅读次数:
147
题目描述 Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by his cows ...
分类:
其他好文 时间:
2019-01-14 16:33:12
阅读次数:
205
题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are not so adept at creating creamy ...
分类:
其他好文 时间:
2019-01-14 14:52:50
阅读次数:
185
Problem surface "戳我" Meaning 坐标系内有若干个点,问把这些点都圈起来的最小凸包周长。 这道题就是一道凸包的模板题啊,只要求出凸包后在计算就好了,给出几个注意点 1. 记得检查是否有吧改开double的 2. 最后统计答案的时候记得将最后一个点和第一个点连起来 差不多了,打 ...
分类:
其他好文 时间:
2019-01-08 12:18:41
阅读次数:
153
我呦呦呦又回来啦! 再来发一篇树形dp~ 昨晚看的这道题,想了好久也不会(然后我就去睡觉了),今天突然明白是怎么回事了,一次A!(好感动) 简单分析一下,首先如果你想拿部分分,那是超级简单的,每一个点都dfs一遍咯,说实话真没啥技术含量。 考虑:假设我已经知道了一个点分别到它周围从1~k的距离的牛的 ...
分类:
其他好文 时间:
2019-01-04 01:13:02
阅读次数:
149
The world lost seven astronauts of Space Shuttle Columbia(哥伦比亚号航天飞机) this month. It broughthome the serious risk that 1humans face into the hostile en ...
分类:
其他好文 时间:
2019-01-03 15:08:11
阅读次数:
128
Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A <= B <= 1,0 ...
分类:
其他好文 时间:
2018-12-29 13:33:58
阅读次数:
457