摘要: http://codeforces.com/group/1EzrFFyOc0/contest/1009/problem/C 题意:原本有一个n个0的数组a[],你对它进行m次操作,每次操作让a[j]+=x+d*(dish(i,j))(dish(i,j)代表abs(i-j))。其中i是任意的。让你求经 阅读全文
posted @ 2018-07-16 15:44 木流牛马 阅读(154) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1443 模板BFS...... 阅读全文
posted @ 2018-07-16 12:45 木流牛马 阅读(154) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1162 这种方法是通过 查外面没有被1包围的0 。。 阅读全文
posted @ 2018-07-16 10:00 木流牛马 阅读(138) 评论(0) 推荐(0) 编辑