随笔分类 -  模拟 , 暴力

摘要:二分是一种很有效的减少时间开销的策略, 我觉得单列出二分专题有些不太合理, 二分应该作为一中优化方法来考虑 这几道题都是简单的使用了二分方法优化, 二分虽然看似很简单, 但一不注意就会犯错. 在写二分时, 会遇到很多选择题, 很多"分叉路口", 要根据实际情况选择合适的"路" HDU2199 Can 阅读全文
posted @ 2016-11-10 20:23 Pic 阅读(259) 评论(0) 推荐(0)
摘要:A题 A. Grasshopper And the String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One day, 阅读全文
posted @ 2016-11-01 11:44 Pic 阅读(395) 评论(0) 推荐(0)
摘要:time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Archeologists have found a secret pass i 阅读全文
posted @ 2016-10-18 23:41 Pic 阅读(503) 评论(0) 推荐(0)
摘要:http://codeforces.com/contest/727/problem/A Transformation: from A to B time limit per test 1 second time limit per test memory limit per test 256 meg 阅读全文
posted @ 2016-10-16 13:34 Pic 阅读(520) 评论(0) 推荐(0)
摘要:time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s, consisting of lowercas 阅读全文
posted @ 2016-10-09 12:37 Pic 阅读(152) 评论(0) 推荐(0)