Fork me on github
摘要: 最小最短路径树。 $dis[j]==dis[i]+w(i,j)$时,从$w(i,j')$和$w(i,j)$考虑。——从0分到100分。 cpp include const int maxn = 10000; const int maxm = 100000; using namespace std; 阅读全文
posted @ 2019-08-22 20:26 acboyty 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 模拟。 注意随从的编号在$summon$和$attack$随从死亡时都可能改变。 cpp include using namespace std; struct tNode { int attack; int health; }; tNode aPlayer[8]; tNode bPlayer[8] 阅读全文
posted @ 2019-08-22 11:47 acboyty 阅读(264) 评论(0) 推荐(0) 编辑