03 2021 档案

摘要:树状数组基本模板 lowbit 1 inline int lowbit(int x) 2 { 3 return x & (-x); 4 } 单点修改 1 inline void update(int i, int x) 2 { 3 for (int pos = i; pos < MAXN; pos 阅读全文
posted @ 2021-03-24 14:04 icey_z 阅读(286) 评论(0) 推荐(0)
摘要:Square-free division (easy version) This is the easy version of the problem. The only difference is that in this version k=0. There is an array a1,a2, 阅读全文
posted @ 2021-03-19 20:49 icey_z 阅读(162) 评论(0) 推荐(0)
摘要:Square-free division (easy version) This is the easy version of the problem. The only difference is that in this version k=0. There is an array a1,a2, 阅读全文
posted @ 2021-03-19 17:20 icey_z 阅读(135) 评论(0) 推荐(0)
摘要:K-beautiful Strings You are given a string s consisting of lowercase English letters and a number k. Let's call a string consisting of lowercase Engli 阅读全文
posted @ 2021-03-07 18:48 icey_z 阅读(337) 评论(0) 推荐(0)