随笔分类 -  codeforces

C - Painting Fence CodeForces - 448C(dp或分治)
摘要:C. Painting Fencetime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputBizon the C... 阅读全文

posted @ 2019-03-27 09:25 tomjobs 阅读(148) 评论(0) 推荐(0)

B - Suffix Structures CodeForces - 448B(题意理解,构造,模拟)
摘要:Bizon the Champion isn’t just a bison. He also is a favorite of the “Bizons” team.At a competition the “Bizons” got the following... 阅读全文

posted @ 2019-03-26 23:28 tomjobs 阅读(146) 评论(0) 推荐(0)

A - Rewards CodeForces - 448A(按规则模拟)
摘要:Bizon the Champion is called the Champion for a reason.Bizon the Champion has recently got a present — a new glass cupboard with ... 阅读全文

posted @ 2019-03-26 21:57 tomjobs 阅读(156) 评论(0) 推荐(0)

A - Mike and Fax CodeForces - 548A(回文串)
摘要:A. Mike and Faxtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhile Mike wa... 阅读全文

posted @ 2019-03-26 17:25 tomjobs 阅读(131) 评论(0) 推荐(0)

D - Soldier and Number Game CodeForces - 546D(素因子+前缀和+读题转化)
摘要:D. Soldier and Number Gametime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputT... 阅读全文

posted @ 2019-03-26 16:05 tomjobs 阅读(158) 评论(0) 推荐(0)

B - Soldier and Badges CodeForces - 546B(构造,水题)
摘要:B. Soldier and Badgestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputColone... 阅读全文

posted @ 2019-03-26 14:19 tomjobs 阅读(120) 评论(0) 推荐(0)

A - Soldier and Bananas CodeForces - 546A(水题)
摘要:A. Soldier and Bananastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA sold... 阅读全文

posted @ 2019-03-26 14:16 tomjobs 阅读(171) 评论(0) 推荐(0)

C - Soldier and Cards CodeForces - 546C(队列模拟水题)
摘要:Two bored soldiers are playing card war. Their card deck consists of exactly n cards, numbered from 1 to n, all values are differ... 阅读全文

posted @ 2019-03-26 14:14 tomjobs 阅读(168) 评论(0) 推荐(0)