Live2d Test Env
摘要: 题意:给定字符串S,多次修改区间值,多次询问区间有多少匹配串T,可以失配3次。 超时思路:用bitset的思路去做的,每次记录T的相应位置[0,L-1]的集合,一位一位的移、求并,对于出现的失配位置,我们最多可以更新3次。假设数据小一点,没准可以过。 主要还是修改操作那里太暴力的,单点操作的题是遇到 阅读全文
posted @ 2018-05-02 21:53 nimphy 阅读(540) 评论(0) 推荐(0) 编辑
摘要: Special Thanks: Jane Alam Jan*At moment in University of Texas at San Antonio - USA You will be given n integers A1A2A3...An. Find a permutation of th 阅读全文
posted @ 2018-05-02 19:51 nimphy 阅读(305) 评论(0) 推荐(0) 编辑