摘要:
Ping pongTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3518Accepted Submission(s): 1299Problem DescriptionN(3 4 #include 5 #include 6 #define maxn 20000 7 #define val 100000 8 int bb[val+5],aa[maxn]; 9 //低位技术10 int lowbit(int k)11 {12 return ... 阅读全文
摘要:
Minimal Ratio TreeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2180Accepted Submission(s): 630Problem DescriptionFor a tree, which nodes and edges are all weighted, the ratio of it is calculated according to the following equation.Given a comple 阅读全文