摘要: P1629 邮递员送信 P1342 请柬 P1821[USACO07FEB]银牛派对Silver Cow Party 都是求的往返的最大,最小路径,用堆优化的dijkstra跑两遍就行,都是板子题 银牛派对的代码: #include <iostream> #include <cstdio> #inc 阅读全文
posted @ 2019-07-19 20:47 sdzmq 阅读(116) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> using namespace std; string tmp,b,a; int xu,e,circle,flag,stop,l[27],g[1 阅读全文
posted @ 2019-07-19 18:07 sdzmq 阅读(114) 评论(0) 推荐(0) 编辑