随笔分类 - CCPC-Wannafly Summer Camp 2019
摘要:链接: https://vjudge.net/problem/HYSBZ 4033 题意: 有一棵点数为N的树,树边有边权。给你一个在0~N之内的正整数K,你要在这棵树中选择K个点,将其染成黑色,并 将其他的N K个点染成白色。将所有点染色后,你会获得黑点两两之间的距离加上白点两两之间距离的和的收益
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 916C 题意: Jamie has recently found undirected weighted graphs with the following properties very interesting:
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 721C 题意: Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 721B 题意: Vanya is managed to enter his favourite site Codehorses. Vanya uses n distinct passwords for sites
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 721A 题意: Recently Adaltik discovered japanese crosswords. Japanese crossword is a picture, represented as a
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: https://vjudge.net/problem/Gym 100923H 题意: Oberyn Martell and Gregor Clegane are dueling in a trial by combat. The fight is extremely important, a
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 585B 题意: The mobile application store has a new game called "Subway Roller". The protagonist of the game Phi
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: https://vjudge.net/problem/CodeForces 687A 题意: Recently, Pari and Arya did some research about NP Hard problems and they found the minimum vertex
阅读全文
摘要:链接: 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
阅读全文
摘要:链接: 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
阅读全文