I am a slow walker,but I never walk backwards. Abraham Lincoln

GeekZRF

随笔分类 -  其他 尺取法

通常是指对数组保存一对下标(起点,终点),然后根据实际情况交替推进直至得出答案
POJ 3320.Jessica's Reading Problem 尺取法
摘要:Jessica's Reading Problem Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12488 Accepted: 4255 Description Jessica's a very lovely girl woo 阅读全文

posted @ 2017-07-04 21:33 GeekZRF 阅读(154) 评论(0) 推荐(0)

POJ 3061.Subsequence 尺取法
摘要:Subsequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14910 Accepted: 6301 Description A sequence of N positive integers (10 < N < 10 阅读全文

posted @ 2017-07-04 21:08 GeekZRF 阅读(145) 评论(0) 推荐(0)

Codeforces 701C. They Are Everywhere 思路题
摘要:C. They Are Everywhere time limit per test: 2 seconds memory limit per test:256 megabytes input: standard input output: standard output C. They Are Ev 阅读全文

posted @ 2016-07-26 14:37 GeekZRF 阅读(286) 评论(0) 推荐(0)

导航