摘要:
朴素Dijkstra include using namespace std; const int inf=9999999; bool book[105]; int mp[105][105]; int dis[105]; int n,m; void Dijkstra(int s){ int star 阅读全文
摘要:
链接 [http://codeforces.com/contest/1076/problem/C] 题意 a+b=d and a⋅b=d. 计算出a和b 分析 a b=a (d a)=d a a a d+d=0; 先判断再直接求根公式 代码 include using namespace std; 阅读全文