2019年10月15日

扩展欧几里德算法(数论)

摘要: #include<bits/stdc++.h> #define llinf (0x3f3f3f3f3f3f3f3f) #define inf (0x3f3f3f3f) typedef long long i64; using namespace std; i64 exgcd(i64 a,i64 b, 阅读全文

posted @ 2019-10-15 19:48 chengyulala 阅读(154) 评论(0) 推荐(0) 编辑

Codeforces Round #592 (Div. 2) 1224D

摘要: http://codeforces.com/problemset/problem/1244/D 暴力为一条链染色 阅读全文

posted @ 2019-10-15 17:29 chengyulala 阅读(105) 评论(0) 推荐(0) 编辑

导航