会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Stay Hungry,Stay Foolish!
lightsong
{Web: [React, Vue, NodeJS, HTTP],DevOps:[Jenkins,Docker,K8S], Languages:[Python, JS, C, Lua, Shell, Groovy]}
博客园
首页
新随笔
联系
订阅
管理
2022年11月19日
E - Crystal Switches -- ATCODER
摘要: E - Crystal Switches https://atcoder.jp/contests/abc277/tasks/abc277_e 思路 做双层图分离。 使用虚线连接两个图,表示switch动作。 使用双端队列,结合最短路算法,从1出发,遍历所有节点。 取两个目标节点路径更小值。 Code
阅读全文
posted @ 2022-11-19 12:07 lightsong
阅读(39)
评论(0)
推荐(0)
编辑
公告
Life Is Short, We Need Ship To Travel