zoukankan
html css js c++ java
HDU2818 Building Block 并查集
//很祼的并查集 #include "UnionFindSet.h" #include <iostream> using namespace std; int main() { UFS ufs; int P, X, Y; char ch; cin>>P; while(P--) { cin>>ch; if(ch == 'M') { cin>>X>>Y; ufs.Union(X,Y,-1); } else { cin>>X; ufs.Find(X); cout<<ufs.depth[X]<<endl; } } return 0; }
查看全文
相关阅读:
nginx syslog 配置
通过granfana 以及prometheus 比较zulu 、oracle、openjdk 等jvm 运行
cube.js 新版本试用preosto
关于redash 自定义可视化以及query runner 开发的几篇文章
通过redash query results 数据源实现跨数据库的查询
cube.js 最近版本的一些更新
zeebe 0.20.0 集群部署试用
redash oracle 数据源docker 镜像
使用jmx-exporter&&jmxtrans && nexus jmx 暴露nexus 系统指标信息
jmxtrans docker-compose 运行
原文地址:https://www.cnblogs.com/windmissing/p/2559887.html
最新文章
benchmarkdotnet dotnet 基准测试类库试用(一)
rust crates 国内镜像加速配置
dotnetcore docker 简单运行
apache pinot-docker-compose 运行试用
Thanos prometheus 集群以及多租户解决方案docker-compose 试用(一)
linux mustache bash 实现mo 做为docker容器运行动态配置工具数组的处理
使用mustache 做为docker容器运行动态配置工具
pmm 添加proxysql metrics
pmm docker-compose 运行试用
promethues exporter+ grafana 监控pg+mysql
热门文章
diffy 方便的bug 以及流量测试系统
sql server 性能优化的几个专家工具
prisma2 预览版
redisql 试用
genie 来自netflix 的分布式大数据调度服务
proxysql 学习二 admin-web 启用
proxysql 学习一 proxysql docker 运行试用
telegraf 学习三 telegra inputs.net_response + smtp2http+ grafana 进行tcp服务状态监控
telegraf 学习二 几个概念
telegraf 学习一 基本安装
Copyright © 2011-2022 走看看