随笔分类 -  Template

[自用模板]
摘要:重载 >> 输出 vector 以及 __int128 template <class T, typename = decltype(std::declval<T>().begin()), typename = decltype(std::declval<T>().end()), typename 阅读全文
posted @ 2022-08-30 20:44 ccz9729 阅读(149) 评论(0) 推荐(0) 编辑
摘要:转自 { // Place your oj_env workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add 阅读全文
posted @ 2022-03-29 00:18 ccz9729 阅读(85) 评论(0) 推荐(1) 编辑
摘要:## 算法模板(乱序) ### 树状数组 ```cpp template class fenwick { public: vector fenw; int n; fenwick(int _n) : n(_n) { fenw.resize(n); } void modify(int x, T v) { 阅读全文
posted @ 2022-03-16 10:27 ccz9729 阅读(291) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示
主题色彩