摘要: A. Rikka with Minimum Spanning Trees 题意: 给出一个图,求最小生成树的个数和权值 思路: 因为数据随机,只有一个MST 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 #define ull unsig 阅读全文
posted @ 2018-12-17 18:29 Dup4 阅读(527) 评论(0) 推荐(0) 编辑
摘要: A. Sockpuppets 阅读全文
posted @ 2018-12-17 18:23 Dup4 阅读(415) 评论(0) 推荐(0) 编辑
摘要: Problem A. Adrien and Austin 阅读全文
posted @ 2018-12-17 18:22 Dup4 阅读(344) 评论(0) 推荐(0) 编辑
摘要: A: Solved. 签。 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 #define ll long long 5 #define N 200010 6 char s[N]; 7 8 int main() 9 { 10 while ( 阅读全文
posted @ 2018-12-17 14:22 Dup4 阅读(220) 评论(0) 推荐(0) 编辑