05 2018 档案
摘要:首先什么是并查集: 并查集(Union Find)是一种用于管理分组的数据结构。它具备两个操作:(1)查询元素a和元素b是否为同一组 (2) 将元素a和b合并为同一组。 并查集的学习: https://blog.csdn.net/luomingjun12315/article/details/473
阅读全文
摘要:https://vjudge.net/contest/227956#problem/A https://vjudge.net/contest/227956#problem/B https://vjudge.net/contest/227956#problem/E
阅读全文
摘要:#include #include #include #define pi 3.14159265 using namespace std; int main() { char format[10]={0}; int t; cin>>t; while(t--) { long long n,x; scanf("%lld%lld",&n,&x);//求n的Pi次方,并且输出小数点后x...
阅读全文
摘要:https://vjudge.net/contest/226480#problem/B 参考博客:https://blog.csdn.net/limhhhhh/article/details/50599551 https://vjudge.net/contest/226480#problem/A 参
阅读全文

浙公网安备 33010602011771号