摘要:
最近读研入组,组里服务器是IPv6地址,不知道为什么校园网连不上,ping6都ping不通,试过网上博客的各种方法了,最后总是显示: 1 ping6: UDP connect: No route to host 于是万能的大师兄说:给你搭一个IPv4的跳板机,你先连接到跳板,然后再连服务器! 非常高 阅读全文
摘要:
打开你的terminal或者iterm2,依次键入: cd ~/Library/LaunchAgents ls 然后你就能看见所有的开机启动项了 使用sudo vim 文件名对plist文件进行编辑 敲击i键进入编辑模式,把带有RunAtLoad啊、Active啊之类的key标签的值都改成false 阅读全文
摘要:
方案一:适合MacOS小白 打开finder,同时按住Command+Shift+G,输入命令/Library/Application Support/Microsoft/ 删除这个文件夹,清空废纸篓,重启电脑,OK 方案二:适合对计算机有一定了解的兄弟们 打开你的terminal或者iterm2, 阅读全文
摘要:
1 zongz@DESKTOP-8FJ0LEC MINGW64 /e/CodeFile/CFile 2 $ git clone https://gitlab.com/padavan-ng/padavan-ng.git 3 Cloning into 'padavan-ng'... 4 remote: 阅读全文
摘要:
HDU2089,属于数位dp入门系列。 多做做应该就会了。 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<algorithm> 5 #include<queue> 6 #include<cstring> 7 阅读全文
摘要:
reverse函数: #define dbg(args...) cout<<#args<<" : "<<args<<endl; char s[5]="sacd"; dbg(s); reverse(s,s+4); dbg(s); string ss="abcde"; reverse(ss.begin( 阅读全文
摘要:
网络流的最后一步。之前已经写了最大流的Dinic,SAP,EK这三种算法。 1 #include "stdafx.h" 2 #include <iostream> 3 #include <algorithm> 4 #include <queue> 5 #include <math.h> 6 #inc 阅读全文
摘要:
复杂度n0.75/logn,实际上比n2/3的杜教筛要快一些。 1 //#include <bits/stdc++.h> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<iostream> 6 #incl 阅读全文
摘要:
加了蝴蝶变换优化的快速傅里叶变换。 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 using namespace std; 5 const int MAXN=1e7+10; 6 inline int read() 7 { 8 阅读全文
摘要:
板子记录。 1 #include<bits/stdc++.h> 2 #define ll long long 3 #define scan(i) scanf("%d",&i) 4 #define scand(i) scanf("%lf",&i) 5 #define scanl(i) scanf("% 阅读全文