
最短路
李自行h
这个作者很懒,什么都没留下…
展开
-
LightOJ - 1074Extended Traffic【spfa判断负环】
#include<iostream> #include<algorithm> #include<cstring> #include<cmath> #include<queue> #include<stack> #include<map> using namespace std; #define ll long long int dss[210],dis[210],head[210],vis[210],sum[210],cyc原创 2020-10-24 11:41:33 · 143 阅读 · 0 评论 -
POJ - 1511Invitation Cards【正反向+dijkstra+链式前向星】
题目 传送门 In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They want to propagate theater and, most of all, Antique Comedies. They have printed invitation cards with all the necess原创 2020-10-09 11:05:15 · 164 阅读 · 0 评论