摘要: 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 阅读全文
posted @ 2019-09-20 17:21 Unknown_Island 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 求a乘b对p取模的值,其中 1<=a,b,p<=pow(10,18) 阅读全文
posted @ 2019-09-20 15:14 Unknown_Island 阅读(135) 评论(0) 推荐(0) 编辑
摘要: People are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others like using Win 阅读全文
posted @ 2019-09-20 14:42 Unknown_Island 阅读(137) 评论(0) 推荐(0) 编辑