随笔分类 -  ZOJ

 
ZOJ 3811
摘要:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5343网络赛这水题没写过太伤了,赛后写了下1A。当时钻牛角尖一定要用k次bfs,其实一次就够了,把扩展到的节点插入set中,复杂度nlogn#include #include #i... 阅读全文
posted @ 2014-09-10 10:44 LegendaryAC 阅读(176) 评论(0) 推荐(0)