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 …

  • ACM-ICPC题解dfs/bfs
  • 2017/10/6
  • 151
  • UESTC 1299 Date 预处理、打表、找周期、前缀和

    Date 预处理、打表、找周期、前缀和 Source The 14th UESTC Programming Contest Preliminary…

  • ACM-ICPC题解数据结构
  • 2017/8/7
  • 130
  • Codeforces Round #401 (Div. 2) C. Alyona and Spreadsheet last数组、预处理、优化

    C. Alyona and Spreadsheet last数组、预处理、优化 My Solution 题意:给出n*m个树,询问第i行到第…

  • ACM-ICPC题解数据结构
  • 2017/2/24
  • 151
  • Codeforces Round #394 (Div. 2) C. Dasha and Password 贪心+预处理+枚举

    C. Dasha and Password 贪心+预处理+枚举 My Solution 题意:长度为n的密码必须包含至少一个字母一…

  • ACM-ICPC题解贪心
  • 2017/2/1
  • 120
  • Codeforces Round #380 (Div. 2) C. Road to Cinema 预处理+二重二分法+贪心

    C. Road to Cinema 预处理+二重二分法+贪心 Source Codeforces Round #380 (Div. 2, Rated, Based …

  • ACM-ICPC题解二分法
  • 2016/11/20
  • 147
  • UESTC 1269 ZhangYu Speech 预处理、前缀和

    ZhangYu Speech 预处理、前缀和 Source 第七届ACM趣味程序设计竞赛第四场(正式赛)B My Solutio…

  • ACM-ICPC题解技巧题
  • 2016/4/4
  • 127
  • The 14th UESTC Programming Contest Final B – Banana Watch 预处理、前缀和

    B - Banana Watch 预处理、前缀和 My Solution 用sum[i]表示1~i的和,然后,从1 ~ maxn 查找,第…

  • ACM-ICPC题解技巧题
  • 2016/4/3
  • 130