随笔分类 - Template
[自用模板]
摘要:重载 >> 输出 vector 以及 __int128 template <class T, typename = decltype(std::declval<T>().begin()), typename = decltype(std::declval<T>().end()), typename
阅读全文
摘要:转自 { // Place your oj_env workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add
阅读全文
摘要:## 算法模板(乱序) ### 树状数组 ```cpp template class fenwick { public: vector fenw; int n; fenwick(int _n) : n(_n) { fenw.resize(n); } void modify(int x, T v) {
阅读全文