10 2019 档案

摘要:题目描述 题解 吼题~~但题解怎么这么迷~~ 考虑一种和题解不同的做法(理解) 先把僵尸离散化,h相同的钦(ying)点一个大小 (可以发现这样每种情况只会被算正好一次) 计算完全被占领的方案,然后1 方案/概率 由于大小确定了,所以 最后会被分成若干不相连的块,且块中至少有一只僵尸,大的僵尸能占领 阅读全文
posted @ 2019-10-28 22:42 gmh77 阅读(229) 评论(0) 推荐(1) 编辑
摘要:题目描述 题解 ~~之前做过一次~~ 假设图建好了,设g[i]表示i j(i include include include include define fo(a,b,c) for (a=b; a=c; a ) define min(a,b) (ay) swap(x,y); change(x,1, 阅读全文
posted @ 2019-10-26 19:00 gmh77 阅读(316) 评论(0) 推荐(0) 编辑
摘要:题目描述 给出n,p,w,d,求(x,y,z)使得 x w+y d=p x+y+z=n 其中d include include include include define fo(a,b,c) for (a=b; a=c; a ) using namespace std; long long n,p 阅读全文
posted @ 2019-10-25 16:25 gmh77 阅读(134) 评论(0) 推荐(0) 编辑
摘要:题目描述 题解 随便bb 详细题解见 https://www.cnblogs.com/coldchair/p/11624979.html https://blog.csdn.net/alan_cty/article/details/84557477 https://www.cnblogs.com/I 阅读全文
posted @ 2019-10-21 22:27 gmh77 阅读(207) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示