![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图论
卿与
博览而约取,厚积而薄发
展开
-
Maximal GCD
Maximal GCD You are given positive integer number n. You should create such strictly increasing sequence of k positive numbers a1, a2, ..., ak, that their sum is equal to n and greatest common divisor...原创 2018-05-05 16:58:30 · 279 阅读 · 0 评论 -
E. Tree Reconstruction
E. TreeReconstruction time limit per test 1 second memory limit per test 256 megabytes Monocarp has drawn a tree (an undirected connect...原创 2019-04-10 22:03:31 · 322 阅读 · 0 评论 -
Graph Without Long Directed Paths
F. Graph Without Long Directed Paths time limit per test 2 seconds memory limit per test 256 megabytes You are given a connected undirected grap...原创 2019-04-01 20:18:11 · 345 阅读 · 0 评论 -
Heavy Transportation
Heavy Transportation(POJ - 1797) Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 57578 Accepted: 14456 Description Background Hugo Heavy is happy. After the breakdown ...原创 2019-06-24 20:29:07 · 359 阅读 · 0 评论 -
P2901 [USACO08MAR]牛慢跑Cow Jogging
题目描述 传送门 Bessie has taken heed of the evils of sloth and has decided to get fit by jogging from the barn to the pond several times a week. She doesn't want to work too hard, of course, so she only p...原创 2019-09-06 10:01:38 · 248 阅读 · 0 评论 -
D. Cow and Snacks
D. Cow and Snacks 传送门 The legendary Farmer John is throwing a huge party, and animals from all over the world are hanging out at his house. His guests are hungry, so he instructs his cow Bessie to b...原创 2019-09-16 21:19:18 · 498 阅读 · 0 评论 -
Dining
题目描述 (传送门) Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others. Farmer John has cooked fabulous meals for his cows, but he forgot to...原创 2019-10-09 16:55:25 · 169 阅读 · 0 评论 -
Going Home
题目描述 (传送门) On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to an adjacent point. For each little man...原创 2019-10-09 23:01:01 · 103 阅读 · 0 评论 -
Dual Core CPU
题目描述 (传送门) As more and more computers are equipped with dual core CPU, SetagLilb, the Chief Technology Officer of TinySoft Corporation, decided to update their famous product - SWODNIW. The routine...原创 2019-10-10 11:42:00 · 794 阅读 · 0 评论