自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Atcoder Grand Contest 030 简要题解

Poisonous Cookies答案是 b+min⁡(c,a+b+1)b+\min(c,a+b+1)b+min(c,a+b+1) 。#include <bits/stdc++.h>using namespace std;int main() {#ifdef wxh010910 freopen("input.txt", "r", stdin);#endif in...

2018-12-30 17:56:32 717

原创 CodeForces Gym 102028 简要题解

Xu Xiake in Henan Province模拟。#include <bits/stdc++.h>using namespace std;int main() {#ifdef wxh010910 freopen("input.txt", "r", stdin);#endif int tt; scanf("%d", &tt); while ...

2018-12-19 16:46:18 2811

原创 Atcoder Grand Contest 029 简要题解

Irreversible operation求逆序对。#include <bits/stdc++.h>using namespace std;int main() {#ifdef wxh010910 freopen("input.txt", "r", stdin);#endif string s; cin >> s; long long an...

2018-12-16 15:18:06 1009

原创 CodeForces Gym 102012 简要题解

Rikka with Minimum Spanning Trees因为数据随机,所以MST只有 111 种。注意特判不连通的情况。#include <bits/stdc++.h>using namespace std;typedef unsigned long long ull;const int N = 123456;const int md = 1e9 + 7;...

2018-12-11 10:13:45 6558

原创 CodeForces 1089 简要题解

Alice the Fan预处理 f(wina,winb,scorea,scoreb)f(win_a, win_b, score_a, score_b)f(wina​,winb​,scorea​,scoreb​) 表示这个状态能不能到达然后倒着输出方案就行了。#include <bits/stdc++.h>using namespace std;const int N = ...

2018-12-07 17:24:44 1297

原创 北大集训2018垫底记

非常抱歉,这篇文章鸽了。

2018-12-06 16:45:22 2442 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除