Cpp算法-大整数类
1 |
|
1 |
|
本文实现只是框架,应当灵活运用,bfs()函数内部根据情况灵活更改
广搜算法基于树、队列实现,具体思路: 将当前点的子节点入队,当前点出队,如果子节点满足条件则记录
并重复此过程
1 | void bfs() |
1 | struct Node |
1 |
|
1 |
|
本文实现只是框架,应当灵活运用,dfs(…)函数返回值类型、参数列表根据情况灵活更改
1 | void dfs(参数列表) |
1 |
|
sudo apt install python
sudo apt install git
git config --global user.name "your_name"
git config --global user.email "you@example.com"
ssh-keygen -t rsa -C "your_email@youremail.com"
一路回车cat ~/.ssh/id_rsa.pub
并复制粘贴到github上ssh -T git@github.com
测试git clone https://github.com/Tony031218/Beautiful_Linux.git
克隆下本仓库settings -> Region&Language -> manage installed language -> install/remove languages -> input sources
sudo apt update
sudo apt upgrade
sudo apt install gdebi
sudo apt remove libreoffice-common
sudo dpkg -i wps-office_10.1.0.6757_amd64.deb
sudo apt remove firefox
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*
sudo apt -f install
sudo apt update
sudo apt install vim
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
底部gsettings set com.canonical.Unity.Launcher launcher-position Left
左侧安装 Unity-tweak-toolsudo apt install unity-tweak-tool
如果出现报错需要安装缺失的包
安装 Flatabulous 主题sudo add-apt-repository ppa:noobslab/themes
sudo apt update
sudo apt install flatabulous-theme
主题sudo add-apt-repository ppa:noobslab/icons
sudo apt update
sudo apt install ultra-flat-icons
图标
unity-tweak-tool -> 主题/图标
字体
Monaco Powerline 也可以选择其他字体,但一定要支持Powerline的,否则后文会出现乱码
sudo apt install zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git
cd oh-my-zsh/tools
./install.sh
chsh
按步骤来输入zsh地址git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/joelthelion/autojump.git
cd autojump
./install.py
按要求把代码填写到~/.zshrc文件尾vim ~/.zshrc
plugins=(git autojump zsh-suggestions)
~/.zshrc
中的ZSH_THEME="robbyrussell"
更改mkdir ~/.vim/colors
molokai.vim
复制到~/.vim/colors/
下sudo apt install python-pip
pip install git+git://github.com/powerline/powerline
pip show powerline-status
~/.vimrc
中的set rtp+=...
一行(后文)mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git
~/.vim/bundle/
下vimrc.txt
复制到~/.vimrc
中Markdown
是一款简洁实用的文本标记语言,可以在mkdocs
,hexo
中使用
mkdocs是一款基于python markdown的项目文档工具,可以用来编写一个网站