摘要: 牛客练习赛51 Educational Codeforces Round 46 (Rated for Div. 2) +南昌网络赛补题 Educational Codeforces Round 50 +每晚组合数学课程 P20 Educational Codeforces Round 11 +每晚组 阅读全文
posted @ 2019-09-09 10:25 luowentao 阅读(510) 评论(0) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2019-09-03 11:16 luowentao 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-03-02 19:42 luowentao 阅读(20) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long lld; const int MAXN = 50010, MAXM = 1000010, INF = 0x3f3f3f3f; struct Edge { int to, next, cap, 阅读全文
posted @ 2019-10-16 09:35 luowentao 阅读(287) 评论(0) 推荐(0) 编辑
摘要: layout: post title: 哈尔滨站总结 author: "luowentaoaa" catalog: true mathjax: true tags: 比赛流水账 开始J题 看懂题意都知道要么是2 要么是3 然后直接判断素数就行,结果因为时间卡得紧 用在for 循环里面用ll进行运算复 阅读全文
posted @ 2019-10-15 10:55 luowentao 阅读(147) 评论(0) 推荐(0) 编辑
摘要: layout: post title: SOSdp author: "luowentaoaa" catalog: true tags: mathjax: true codeforces DP cpp include using namespace std; const int maxn=1e6+50 阅读全文
posted @ 2019-10-02 19:21 luowentao 阅读(325) 评论(0) 推荐(0) 编辑
摘要: layout: post title: 2018 2019 ACM ICPC Southeastern European Regional Programming Contest (SEERC 2018) author: "luowentaoaa" catalog: true tags: mathj 阅读全文
posted @ 2019-09-27 11:24 luowentao 阅读(547) 评论(0) 推荐(0) 编辑
摘要: layout: post title: 点分治是否容斥 author: "luowentaoaa" catalog: true mathjax: true tags: 数学 该图涉及的链为 $rt u\\rt u a\\rt u b\\rt v\\rt v c\\rt v d$ 还有 $a u rt 阅读全文
posted @ 2019-09-24 10:19 luowentao 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题意:在序列中删除最少元素使得得到的图是二分图。 其中点是整数域的点。 比如b1=2 那么a可以连b当且仅当|a-b|=2 同时这里的a,b是任意整数。 怎样判定一个序列是否合法呢?于是想到了二分图没有奇环的性质。 首先发现b序列中有一个奇数和一个偶数那么就会存在奇环。 因为假如从0点出发,0点到奇 阅读全文
posted @ 2019-09-19 15:44 luowentao 阅读(232) 评论(0) 推荐(1) 编辑
摘要: layout: post title: HDU 6704 K th occurrence (后缀自动机father树上倍增建权值线段树合并) author: "luowentaoaa" catalog: true tags: mathjax: true kuangbin 字符串 传送门 题意 给出一 阅读全文
posted @ 2019-08-27 02:00 luowentao 阅读(442) 评论(0) 推荐(2) 编辑
摘要: 学会今天收藏的那两题 阅读全文
posted @ 2019-08-24 20:39 luowentao 阅读(110) 评论(0) 推荐(0) 编辑