摘要:
Time Limit: 1 Sec Memory Limit: 30 MBSubmit: 13 Solved: 9[Submit][Status][Web Board] Description Give a tree with n vertices,each edge has a length(po 阅读全文
摘要:
#include<cstdio>#include<cstring>#include<algorithm>using namespace std;typedef long long ll;struct my{ ll x,y,c;};const int maxn=20000+10;my l[maxn]; 阅读全文
摘要:
Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 22628 Accepted: 11052 Description Railway tickets were difficult to buy around the Lunar Ne 阅读全文