摘要:
int head[maxn],nxt[maxn],val[maxn],edge[maxn],cnt; int n,m; int dis[maxn][maxn]; inline void add(int a,int b,int v){ edge[cnt]=b, val[cnt]=v, nxt[cnt]=head[a], head[a]=cnt++; } inline void print(){ fo 阅读全文
摘要:
求a乘b对p取模的值,其中 1<=a,b,p<=pow(10,18) 阅读全文
摘要:
People are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others like using Win 阅读全文