合集-C++算法代码模板
摘要:高精度加法: #include<bits/stdc++.h> #define endl '\n' using namespace std; string s1,s2; int la,lb,lc; int a[505],b[505],c[505]; void strtoint(string str,i
阅读全文
摘要:C++常用代码模板 快速读入 inline int read(){ register int s=0,w=1; char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')w=-1;ch=getchar();} while(ch>='0'&&ch<='9'
阅读全文
摘要:【个人笔记】BST(Binary Search Tree)二叉搜索树代码模板 #include <bits/stdc++.h> #define endl '\n' using namespace std; const int INF = 0x7fffffff; const double EPS =
阅读全文