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
阅读全文
摘要: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,
阅读全文
摘要: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,
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号