Codeforces Round #345 (Div. 2) D. Image Preview __ two pointers and pretreat
D. Image Preview two pointers and pretreat My Solution This is really a good problem for me …
D. Image Preview two pointers and pretreat My Solution This is really a good problem for me …
Date 预处理、打表、找周期、前缀和 Source The 14th UESTC Programming Contest Preliminary…
C. Alyona and Spreadsheet last数组、预处理、优化 My Solution 题意:给出n*m个树,询问第i行到第…
C. Dasha and Password 贪心+预处理+枚举 My Solution 题意:长度为n的密码必须包含至少一个字母一…
C. Road to Cinema 预处理+二重二分法+贪心 Source Codeforces Round #380 (Div. 2, Rated, Based …
ZhangYu Speech 预处理、前缀和 Source 第七届ACM趣味程序设计竞赛第四场(正式赛)B My Solutio…
B - Banana Watch 预处理、前缀和 My Solution 用sum[i]表示1~i的和,然后,从1 ~ maxn 查找,第…