摘要:
一个模板集合实在是太卡了,再开一个吧 字符串 字符串是算法竞赛高频基础模块,常用于字符串匹配、去重、回文判定、文本处理等题型。 字符串hash #include <bits/stdc++.h> #define int long long using namespace std; const int 阅读全文
摘要:
很好用的小技巧,用于检测全局变量的静态使用空间和程序实际耗时 #include<bits/stdc++.h> #define int long long using namespace std; bool M1; // 最前面 const int N=1e6+10 ,M=1e5; int a[N] 阅读全文