1. CF 914F Substrings in a String
大意: 给定一个串s, q个询问, (1)单点修改, (2)询问[l,r]范围内串y的出现次数.
shift and算法板子题
#pragma GCC optimize("Ofast")#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")#pragma GCC optimize("unroll-loops")#include #include #include #include #include #include #include