随笔分类 -  其他 前缀和

摘要:E. Arson In Berland Forest The Berland Forest can be represented as an infinite cell plane. Every cell contains a tree. That is, contained before the 阅读全文
posted @ 2019-11-24 23:17 qscqesze 阅读(466) 评论(0) 推荐(0) 编辑
摘要:E. Rock Is Push You are at the top left cell (1,1) of an n×m labyrinth. Your goal is to get to the bottom right cell (n,m). You can only move right or 阅读全文
posted @ 2019-11-02 14:03 qscqesze 阅读(344) 评论(0) 推荐(0) 编辑
摘要:B. Alyona and a tree 题目连接: http://codeforces.com/contest/739/problem/B Description Alyona has a tree with n vertices. The root of the tree is the vert 阅读全文
posted @ 2016-11-26 00:51 qscqesze 阅读(902) 评论(0) 推荐(0) 编辑
摘要:B. Nanami's Digital Board 题目连接: http://www.codeforces.com/contest/434/problem/B Description Nanami is an expert at playing games. This day, Nanami's g 阅读全文
posted @ 2016-06-03 21:06 qscqesze 阅读(492) 评论(0) 推荐(0) 编辑
摘要:拍照 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5714 Description 小明在旅游的路上看到了一条美丽的河,河上有许多船只,有的船只向左航行,有的船只向右航行。小明希望拍下这一美丽的风景,并且把尽可能多的船只都完整地拍到一张照片中。 小 阅读全文
posted @ 2016-06-01 08:36 qscqesze 阅读(475) 评论(0) 推荐(0) 编辑
摘要:Candy Distribution 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5291 Description WY has n kind of candy, number 1 N, The i th kind of candy has ai. 阅读全文
posted @ 2016-03-14 22:11 qscqesze 阅读(569) 评论(0) 推荐(0) 编辑
摘要:B. Alice, Bob, Two Teams 题目连接: http://www.codeforces.com/contest/632/problem/B Description Alice and Bob are playing a game. The game involves splitti 阅读全文
posted @ 2016-03-02 22:23 qscqesze 阅读(428) 评论(0) 推荐(0) 编辑
摘要:B. Guess That Car! 题目连接: http://codeforces.com/contest/201/problem/B Description A widely known among some people Belarusian sport programmer Yura pos 阅读全文
posted @ 2016-02-16 18:26 qscqesze 阅读(403) 评论(0) 推荐(0) 编辑
摘要:<center C. New Year and Domino</center 题目连接:http://www.codeforces.com/contest/611/problem/C DescriptionThey say "years are like dominoes, tumbling o... 阅读全文
posted @ 2015-12-31 12:55 qscqesze 阅读(327) 评论(0) 推荐(0) 编辑
摘要:<center B. Hamming Distance Sum</center 题目连接:http://www.codeforces.com/contest/608/problem/A DescriptionGenos needs your help. He was asked to solve... 阅读全文
posted @ 2015-12-25 10:51 qscqesze 阅读(460) 评论(0) 推荐(0) 编辑
摘要:昊昊爱运动Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1256Description昊昊喜欢运动他N天内会参加M种运动(每种运动用一个[1,m]的整数表示)舍友有Q个问题问昊昊第l天... 阅读全文
posted @ 2015-12-06 12:03 qscqesze 阅读(426) 评论(0) 推荐(0) 编辑
摘要:A. Greg and ArrayTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/295/problem/ADescriptionGreg has an arraya = a1, a2, ..., ana... 阅读全文
posted @ 2015-12-03 13:28 qscqesze 阅读(384) 评论(0) 推荐(0) 编辑
摘要:B. Laurenty and ShopTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/586/problem/BDescriptionA little boy Laurenty has been pla... 阅读全文
posted @ 2015-10-13 10:54 qscqesze 阅读(345) 评论(0) 推荐(0) 编辑
摘要:A. Nano alarm-clocksTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100637/problem/ADescriptionAn old watchmaker hasnstopped nano ... 阅读全文
posted @ 2015-07-24 18:18 qscqesze 阅读(557) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示