摘要:
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main(){ 7 int i=2; 8 ostringstream os; 9 os<<i; 10 cout<<os.str(); 11 return 0; 12 } 阅读全文
摘要:
#include #include #define maxlen 100005 using namespace std; int n, m; int u[maxlen], v[maxlen]; int first[maxlen], next1[maxlen]; void dfs() { for (int i = 1; i >n>>m; mm=m; for (int ... 阅读全文
摘要:
#include #include #include char ch; typedef struct BitNode{ char data; struct BitNode *lchid, *rchid; }BitNode, *BitTree; void Create_BitTree(BitTree &T){ if(ch == '\n') retur... 阅读全文
摘要:
start = time.clock() #long running #do something other end = time.clock() print end-start 阅读全文
摘要:
切换64位和32位:set CONDA_FORCE_32BIT=1是切换到32位;set CONDA_FORCE_32BIT= 0是切换到64位 创建环境: conda create -n py36 python=3.6 删除环境 conda remove -n py36 --all 激活环境 ca 阅读全文
摘要:
转: https://blog.csdn.net/lnotime/article/details/87867108 阅读全文
摘要:
转: https://www.jianshu.com/p/8d416ac4ad11 阅读全文
摘要:
用户修改: 在 ~/.vimrc 中添加以下代码后,重启(用 vim 重新打开文件)vim 即可实现按 TAB 转换为4个空格: set nu set ts=4 set expandtab set cuc set cul hi CursorLine cterm=NONE ctermbg=red hi 阅读全文
摘要:
ubuntu: centos: 阅读全文
摘要:
1. 将安装文件拷贝至你的目录中 如果是以 root 身份登录上的,可以将软件拷贝至 /root 中。 cp xxx.tar.gz /root 2. 解压缩 tar -xvzf xxx.tar.gz 如果有 GUI 桌面可以直接双击解压缩。 3. 编译前配置及检查 ./configure 4. 编译 阅读全文