随笔分类 -  CCPC-Wannafly Summer Camp 2019

摘要:链接: https://vjudge.net/problem/HYSBZ 4033 题意: 有一棵点数为N的树,树边有边权。给你一个在0~N之内的正整数K,你要在这棵树中选择K个点,将其染成黑色,并 将其他的N K个点染成白色。将所有点染色后,你会获得黑点两两之间的距离加上白点两两之间距离的和的收益 阅读全文
posted @ 2019-08-22 14:42 YDDDD 阅读(152) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 916C 题意: Jamie has recently found undirected weighted graphs with the following properties very interesting: 阅读全文
posted @ 2019-08-22 09:04 YDDDD 阅读(180) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 916B 题意: Jamie is preparing a Codeforces round. He has got an idea for a problem, but does not know how to s 阅读全文
posted @ 2019-08-21 23:32 YDDDD 阅读(184) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 916A 题意: Jamie loves sleeping. One day, he decides that he needs to wake up at exactly hh: mm. However, he h 阅读全文
posted @ 2019-08-21 10:27 YDDDD 阅读(129) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 721D 题意: Recently Maxim has found an array of n integers, needed by no one. He immediately come up with idea 阅读全文
posted @ 2019-08-21 00:10 YDDDD 阅读(175) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 721C 题意: Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n 阅读全文
posted @ 2019-08-20 20:32 YDDDD 阅读(153) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 721B 题意: Vanya is managed to enter his favourite site Codehorses. Vanya uses n distinct passwords for sites 阅读全文
posted @ 2019-08-20 20:29 YDDDD 阅读(491) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 721A 题意: Recently Adaltik discovered japanese crosswords. Japanese crossword is a picture, represented as a 阅读全文
posted @ 2019-08-19 22:45 YDDDD 阅读(197) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/HDU 4803 题意: Jenny is a warehouse keeper. He writes down the entry records everyday. The record is shown on a screen, a 阅读全文
posted @ 2019-08-19 10:05 YDDDD 阅读(170) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/HDU 4810 题意: Ms.Fang loves painting very much. She paints GFW(Great Funny Wall) every day. Every day before painting, s 阅读全文
posted @ 2019-08-19 00:54 YDDDD 阅读(179) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/HDU 4811 题意: Jenny likes balls. He has some balls and he wants to arrange them in a row on the table. Each of those bal 阅读全文
posted @ 2019-08-18 23:00 YDDDD 阅读(221) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/Gym 100923H 题意: Oberyn Martell and Gregor Clegane are dueling in a trial by combat. The fight is extremely important, a 阅读全文
posted @ 2019-08-18 15:44 YDDDD 阅读(161) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/Gym 100923I 题意: We don't know how Por Costel the pig arrived at FMI's dance party. All we know is that he did. The danc 阅读全文
posted @ 2019-08-17 18:03 YDDDD 阅读(164) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/Gym 100923A 题意: Por Costel the Pig has received a royal invitation to the palace of the Egg Emperor of Programming, Aze 阅读全文
posted @ 2019-08-17 17:33 YDDDD 阅读(158) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 585B 题意: The mobile application store has a new game called "Subway Roller". The protagonist of the game Phi 阅读全文
posted @ 2019-08-17 16:25 YDDDD 阅读(230) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 437C 题意: On Children's Day, the child got a toy from Delayyy as a present. However, the child is so naughty 阅读全文
posted @ 2019-08-17 13:45 YDDDD 阅读(204) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 449B 题意: Jzzhu is the president of country A. There are n cities numbered from 1 to n in his country. City 1 阅读全文
posted @ 2019-08-17 01:14 YDDDD 阅读(276) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 687A 题意: Recently, Pari and Arya did some research about NP Hard problems and they found the minimum vertex 阅读全文
posted @ 2019-08-16 14:47 YDDDD 阅读(315) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 682C 题意: Alyona decided to go on a diet and went to the forest to get some apples. There she unexpectedly fo 阅读全文
posted @ 2019-08-16 11:58 YDDDD 阅读(271) 评论(0) 推荐(0)
摘要:链接: https://vjudge.net/problem/CodeForces 707B 题意: Masha wants to open her own bakery and bake muffins in one of the n cities numbered from 1 to n. Th 阅读全文
posted @ 2019-08-16 10:03 YDDDD 阅读(188) 评论(0) 推荐(0)