摘要:
http://codeforces.com/contest/766/problem/D D. Mahmoud and a Dictionary time limit per test 4 seconds memory limit per test 256 megabytes input standa 阅读全文
摘要:
#include using namespace std; const int maxn = 2e6; int head[maxn]; int bel[maxn]; int w[maxn]; bool vis[maxn]; int cnt = 0, n; struct node{ int to, nxt; }e[maxn]; void init(){ memset(hea... 阅读全文
摘要:
#include #include #include #define DEPTH 10 typedef int BigInteger[10100]; int comp(const BigInteger a,const int c,const int d,const BigInteger b) //大数比较 { int i,t=0,O=-DEPTH*2; if(b[0]... 阅读全文