codeforces
糖炒栗之
这个作者很懒,什么都没留下…
展开
-
【Codeforces1077E】Thematic Contests(二分+枚举)
题目链接E. Thematic Conteststime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has prepared nn competitive programming proble...原创 2018-11-22 13:41:28 · 181 阅读 · 0 评论 -
【Codeforces Round #548(Div. 2)】Edgy Trees(数学+bfs求连通块)
题目链接C. Edgy Treestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a tree (a connected undirected graph without cy...原创 2019-04-02 19:10:51 · 178 阅读 · 0 评论 -
【Codeforces】WHU校赛2019 Store(线段树+二分)
题目链接C. Storetime limit per test1.0 smemory limit per test256 MBinputstandard inputoutputstandard outputIchuan is a store owner and his store has n products, numbered from11tonn....原创 2019-04-11 17:00:32 · 161 阅读 · 0 评论 -
【Codeforces Round #546(Div. 2)】Nastya Is Buying Lunch(贪心)
对不起最近又变菜了....我反思...我忏悔虽然这道题有点贪心的感觉,但是还是没想出来qwq最后搜了题解题目链接D. Nastya Is Buying Lunchtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandar...原创 2019-03-13 16:11:38 · 880 阅读 · 0 评论 -
【Educational Codeforces Round 61(Div. 2)】Painting the Fence(思维)
题目链接C. Painting the Fencetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a long fence which consists ofnnsections. ...原创 2019-03-15 13:24:17 · 282 阅读 · 0 评论 -
【Codeforces Round #525(Div. 2)】Ehab and another another xor problem(思维+异或)
题目链接D. Ehab and another another xor problemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is an interactive problem!Eha...原创 2018-12-10 19:54:44 · 194 阅读 · 0 评论 -
【Codeforces Round #524(Div. 2)】Olya and magical square(思维+数学推导)
题目链接D. Olya and magical squaretime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Olya received a magical square with the...原创 2018-12-05 13:58:54 · 282 阅读 · 0 评论 -
【Codeforces Round #523(Div. 2)】TV Shows(贪心+map)
题目链接D. TV Showstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are nn TV shows you want to watch. Suppose the whole time...原创 2018-11-30 14:35:57 · 299 阅读 · 0 评论 -
【Codeforces Round #522(Div. 2)】Playing Piano(dp || 记忆化搜索)
题目链接C. Playing Pianotime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Paul wants to learn how to play piano. He already ha...原创 2018-11-27 11:04:51 · 210 阅读 · 0 评论 -
【Codeforces Round #523(Div. 2)】Multiplicity(dp)
题目链接C. Multiplicitytime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer arraya1,a2,…,ana1,a2,…,an.The a...原创 2018-11-29 14:26:12 · 204 阅读 · 4 评论 -
【Codeforces1073C】Vasya and Robot(二分+思维+前缀和)
题目链接C. Vasya and Robottime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has got a robot which is situated on an infinite Ca...原创 2018-11-23 12:58:48 · 478 阅读 · 4 评论 -
【Codeforces Round #551(Div. 2)】Serval and Rooted Tree(思维+dp)
题目链接D. Serval and Rooted Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNow Serval is a junior high school student in Jap...原创 2019-04-17 16:22:09 · 198 阅读 · 0 评论