Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post 1$ hexo new "My New Post" More info: Writing Run server 1$ hexo server More info: Server Generate static files 1$ hexo generate More info: Generating Deploy to remote sites 1$ hexo deploy More info: Deployment
树状数组
树状数组 树状数组的学习可以看b站董晓算法的讲解(极力推荐)。 董老师树状数组博客 oiwiki 大概的思路 无论是往点修往后跳还是求前缀和往前跳都是一次跳2k,k为x二进制最低有效位。 代码模版 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354template<typename T>struct Fenwick{ int n; vector<T> tr; Fenwick(int n) : n(n), tr(n + 1, 0){} int lowbit(int x){// 找到x最低有效位 return x & -x; } void modify(int x, T c){// 点修 for(int i = x; i <= n; i += lowbit(i))...
hexo博客搭建
hexo hexo文档 butterfly butterfly文档 Hexo文件结构 hexo博客搭建 配置的前提条件 git https://git-scm.com/ git的安装也比较简单。我们安装这个主要使用的就是其中的命令行工具git bash。 就是这个玩意。这里建议使用管理员身份打开,会省去一些麻烦 Git Bash:Git提供的命令行工具 相当于一个小的linux窗口,使用shift+鼠标右键可以直接找到,不用选择更多选项 使用git之前需要设置一下用户信息,这里我之前已经配置过了,所以就没有在进行尝试。 打开Git Bash 设置用户信息 git config --global user.name “itcast” git config --global user.email “hello@itcast.cn” 查看配置信息 git config --global user.name git config --global...





