摘要: 1.T14561 逃避 题解::第一题水题,直接模拟就行了。代码:: #include<cstdio> #include<cstring> #include<algorithm> using namespace std; template<class T>inline void read(T &x) 阅读全文
posted @ 2017-10-24 20:29 Sorakado_Ao 阅读(136) 评论(1) 推荐(0) 编辑
摘要: 1.无线网络发射器选址 题目::https://www.luogu.org/problem/show?pid=2038 题解::第一题水题,直接枚举放的位置,用二维前缀和维护一下,注意一下边界就行了。时间复杂度O(129^2); 代码:: 2.寻找道路 题目::https://www.luogu.o 阅读全文
posted @ 2017-10-23 23:21 Sorakado_Ao 阅读(255) 评论(1) 推荐(0) 编辑