随笔分类 - Codeforces
摘要:A. Functions again time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Functions again tim
阅读全文
摘要:【题意:】 t次操作,每次操作有下述三种类型: + a 往multiset中增加一个非负整数a,允许相同的数出现 - a 从multiset中减去一个非负整数a,执行此操作时保证multiset存在该非负整数a ? s 询问multiset中有多少个数与模式串s匹配(匹配的定义:模式串中,'0'表示
阅读全文