摘要:
gauss~~削~~消元法~~♂~~ 就是利用矩阵,进行加减消元 cpp include include include include include using namespace std; double map[111][111]; double ans[111]; double eps=1e 阅读全文
摘要:
指针是个好东西 不过就是得判空 还有别忘传引用(其实应该都传引用) cpp include include include using namespace std; int inf=0x7fffffff; struct node nil; struct node { int num; int val 阅读全文
摘要:
"P1725 琪露诺" 单调队列优化dp 对于不是常数转移的dp转移,我们都可以考虑单调队列转移 然而我们要把数组开大 cpp include include include using namespace std; int read() { int s=0,f=1; char in=getchar 阅读全文
摘要:
玄学treap 看脸算法 指针真垃圾 delete 真垃圾 cpp include include include include include using namespace std; struct node { int v; int num;//有可能有多个相同的数在一棵BST中 int r; 阅读全文
摘要:
"dalao" cpp include include include include using namespace std; struct node { int pos; long long val; bool operator q; long long read() { long long s 阅读全文
摘要:
最水的二叉树 cpp include include include using namespace std; int read() { int s=0,f=1; char in=getchar(); while(in'9') { if(in==' ') f= 1; in=getchar(); } 阅读全文