摘要: 博弈论 简单易懂的博弈论讲解(巴什博弈、尼姆博弈、威佐夫博弈、斐波那契博弈、SG定理) - The_Virtuoso - 博客园 (cnblogs.com) 尼姆博弈(Nim)游戏 引入 : 假设先手为$X$,后手为$Y$ 先假设有两堆石子,数量分别为 a,b, 如果 $a \neq b\ and\ 阅读全文
posted @ 2024-03-11 22:08 O_JF? 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N = 3e5 + 10; int main() { int n; cin >> n; vector<int>v(n + 1),pre(N + 1); map<int, int>mp; fo 阅读全文
posted @ 2024-01-19 01:39 O_JF? 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 先获取公网IP地址 登录后 sudo apt install nginx mkdir web # 改为你想要放的地址,记得不能是root目录下 cd web vim index.html # 编辑网页 往里面写入简单的hello word! <!DOCTYPE html> <html> <head> 阅读全文
posted @ 2024-01-03 21:54 O_JF? 阅读(17) 评论(0) 推荐(0) 编辑
摘要: CompetitiveProgrammingParser 依赖 环境 : python3 浏览器插件 : Competitive Companion Sublmie Text插件 : FastOlympicCoding、 CompetitiveProgrammingParser 配置 打开浏览器的扩 阅读全文
posted @ 2023-09-29 21:26 O_JF? 阅读(457) 评论(0) 推荐(0) 编辑
摘要: bilibili-linux Github 安装 cd /home/Apps # 先移动到你想要安装的位置 git clone https://github.com/msojocs/bilibili-linux.git # 拉取代码 # git clone https://gitclone.com/ 阅读全文
posted @ 2023-08-30 18:32 O_JF? 阅读(3781) 评论(1) 推荐(0) 编辑
摘要: ## 只适合ubuntu的nvim安装方法 ### 最快的办法 : ```less sudo apt update sudoapt upgrade -y sudo apt-get install snapd sudo apt-get install snapcraft # 这里可能会卡住,关机重启 阅读全文
posted @ 2023-08-11 15:39 O_JF? 阅读(173) 评论(0) 推荐(0) 编辑
摘要: ### 方法一 : vim ~/.config/nvim/init.vim 在文件中加入 ```vim set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc ``` 阅读全文
posted @ 2023-08-11 03:14 O_JF? 阅读(57) 评论(0) 推荐(0) 编辑
摘要: ## Vimium是个谷歌仿vim插件 [学习参考链接](http://www.cppblog.com/deercoder/archive/2011/10/22/158886.html) 阅读全文
posted @ 2023-08-08 15:00 O_JF? 阅读(4) 评论(0) 推荐(0) 编辑
摘要: ## github链接[vim-fugitive](https://github.com/tpope/vim-fugitive) ## 安装 ```vim " 在.vimrc 中加入 Plug 'tpope/vim-fugitive' ``` ## 使用 | 命令 | 解释 | | | | | `: 阅读全文
posted @ 2023-08-08 14:17 O_JF? 阅读(142) 评论(0) 推荐(0) 编辑
摘要: ### 环境要求 ```less git clone https://github.com/universal-ctags/ctags.git --depth=1 cd ctags sudo apt-get install -y automake autoconf pkg-config make g 阅读全文
posted @ 2023-08-07 17:32 O_JF? 阅读(68) 评论(0) 推荐(0) 编辑