Cpp算法-大整数类
1 |
|
1 |
|
本文实现只是框架,应当灵活运用,bfs()函数内部根据情况灵活更改
广搜算法基于树、队列实现,具体思路: 将当前点的子节点入队,当前点出队,如果子节点满足条件则记录并重复此过程
1 | void bfs() |
1 | struct Node |
1 |
|
1 |
|
本文实现只是框架,应当灵活运用,dfs(…)函数返回值类型、参数列表根据情况灵活更改
1 | void dfs(参数列表) |
1 |
|
sudo apt install pythonsudo apt install gitgit 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 updatesudo apt upgradesudo apt install gdebisudo apt remove libreoffice-commonsudo dpkg -i wps-office_10.1.0.6757_amd64.debsudo apt remove firefoxwget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.debsudo dpkg -i google-chrome*sudo apt -f installsudo apt updatesudo apt install vimgsettings 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/themessudo apt updatesudo apt install flatabulous-theme主题sudo add-apt-repository ppa:noobslab/iconssudo apt updatesudo apt install ultra-flat-icons图标
unity-tweak-tool -> 主题/图标
字体
Monaco Powerline 也可以选择其他字体,但一定要支持Powerline的,否则后文会出现乱码
sudo apt install zshgit clone https://github.com/robbyrussell/oh-my-zsh.gitcd oh-my-zsh/tools./install.shchsh按步骤来输入zsh地址git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestionsgit clone https://github.com/joelthelion/autojump.gitcd autojump./install.py按要求把代码填写到~/.zshrc文件尾vim ~/.zshrcplugins=(git autojump zsh-suggestions)~/.zshrc中的ZSH_THEME="robbyrussell"更改mkdir ~/.vim/colorsmolokai.vim复制到~/.vim/colors/下sudo apt install python-pippip install git+git://github.com/powerline/powerlinepip show powerline-status~/.vimrc中的set rtp+=...一行(后文)mkdir -p ~/.vim/autoload ~/.vim/bundlecurl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vimcd ~/.vim/bundlegit clone https://github.com/scrooloose/nerdtree.git~/.vim/bundle/下vimrc.txt复制到~/.vimrc中Markdown是一款简洁实用的文本标记语言,可以在mkdocs,hexo中使用
mkdocs是一款基于python markdown的项目文档工具,可以用来编写一个网站