摘要: 这一场有点坑 A题,求最大值之后相减 #include<map> #include<set> #include<cmath> #include<queue> #include<stack> #include<vector> #include<cstdio> #include<cassert> #in 阅读全文
posted @ 2017-07-28 20:04 walfy 阅读(139) 评论(0) 推荐(0)
摘要: 求距离 #include<map> #include<set> #include<cmath> #include<queue> #include<stack> #include<vector> #include<cstdio> #include<cassert> #include<iomanip> 阅读全文
posted @ 2017-07-28 14:05 walfy 阅读(485) 评论(0) 推荐(0)
摘要: CodeForces 402A 水题,模拟 #include<map> #include<set> #include<cmath> #include<queue> #include<stack> #include<vector> #include<cstdio> #include<cassert> 阅读全文
posted @ 2017-07-28 12:43 walfy 阅读(159) 评论(0) 推荐(0)
摘要: 求三点之间的最短路,,分别求两点之间的lca除2即可(代码写的太挫了,wa了14发= =) #include<map> #include<set> #include<cmath> #include<queue> #include<stack> #include<vector> #include<cs 阅读全文
posted @ 2017-07-28 12:38 walfy 阅读(156) 评论(0) 推荐(0)