【数据结构】树状数组及查询第K小的数
- 宏定义
lowbit
函数
1 |
string
使用操作,引入 #inlcude<string>
与 using namespace std;
1 | s.erase(0, 5); // 整型参数:(起始位置, 长度) |
在 1063 Set Similarity (25分) 这道题目中,使用 unorderd_set 和 unordered_map 时出现超时问题,
不管后面写了啥,一定要把最重要的写在前面:(总记不住)
@ContextConfiguration
注解引入 Spring 配置文件,通过value只能引用XML配置文件
@ContextConfiguration(value= [“classpath:chapter3-config.xml”])
@ContextConfiguration(classes = [Cha3Config::class])