随笔分类 -  LCA

摘要:HDU2586 纯LCA模板 #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #define lowbit(x) x&(-x) #define rep(i,l,r) for(int i=l;i<=r;++i 阅读全文
posted @ 2018-08-20 10:52 GoesOn 阅读(244) 评论(0) 推荐(0)
摘要:How far away ? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17447 Accepted Submission(s): 6745 阅读全文
posted @ 2017-08-22 09:17 GoesOn 阅读(196) 评论(0) 推荐(0)
摘要:Distance Queries Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 14378 Accepted: 5062 Case Time Limit: 1000MS Description Farmer John's cow 阅读全文
posted @ 2017-08-22 09:00 GoesOn 阅读(179) 评论(0) 推荐(0)