PAT A1106 Lowest Price in Supply Chain

題目 找深度最小的葉子結點 code #include <cstdio> #include <algorithm> #include <vector> #include <cmath> using namespace std; const int maxn=100100; const int INF=1e12; vector<int>Node [maxn]; double p,r,ans=INF;
相關文章
相關標籤/搜索