自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【数学期望】Codeforces#829 Div1 C.Wish I Knew How to Sort

【数学期望】Codeforces#829 Div1 C.Wish I Knew How to Sort

2022-10-24 10:41:38 281 1

原创 【容斥原理】Codeforces#547 Div1 C.Mike and Foam

https://codeforces.com/contest/547/problem/C题目描述原题来自:Codeforces#547 Div1 C.Mike and Foam翻译来源:牛客网MikeMikeMike 是 RicoRicoRico 酒吧的调酒师。在 RicoRicoRico 酒吧,他们将啤酒杯放在一个特殊的架子上。在 RicoRicoRico 酒吧,有 nnn 种啤酒编号从 111 到 nnn 。第 iii 瓶啤酒上面有 aia_{i}ai​ 毫升的泡沫。MaximMaximMax

2022-05-04 12:11:03 259

原创 补题报告:Codeforces Round #767 (Div. 2)

补题报告:Codeforces Round #767 Div. 2A. Download More RAMB. GCD ArraysC. Meximum ArrayD. Peculiar Movie PreferencesE. Grid XorF1. Game on Sum (Easy Version)F2. Game on Sum (Hard Version)A. Download More RAMhttps://codeforces.com/contest/1629/problem/AProbl

2022-01-23 20:32:43 566

原创 【三分法】 SCOI2010 传送带 LibreOJ - 10017

https://loj.ac/p/10017题目描述原题来自:SCOI 2010在一个 222 维平面上有两条传送带,每一条传送带可以看成是一条线段。两条传送带分别为线段 ABABAB 和线段 CDCDCD 。lxhgww 在 ABABAB 上的移动速度为 PPP ,在 CDCDCD 上的移动速度为 QQQ ,在平面上的移动速度 RRR。现在 lxhgww 想从 AAA 点走到 DDD 点,他想知道最少需要走多长时间。Solution三分套三分。其实就是找一条AAA到DDD的最优路径,花费的时间

2022-01-21 15:13:11 461

原创 DFS组合数学向问题

DFS组合数学向问题https://ac.nowcoder.com/acm/contest/11220/C#include<bits/stdc++.h>using namespace std;#define PII pair<int, int>#define x first#define y secondconst int inf = 0x3f3f3f3f;// #define int long longconst int N = 10;int a[N];d

2022-01-20 18:52:22 192

转载 Acwing789. 数的范围

发现一个二分讲的十分清楚的视频,up的理解思路也很清晰,让我对二分也有了新的理解,希望下次写二分不用再调试了 T_Thttps://www.bilibili.com/video/BV1d54y1q7k7?from=search&seid=14378360076371462119#include<bits/stdc++.h>using namespace std;#define PII pair<int, int>#define x first#define y

2022-01-11 19:47:13 83

转载 Acwing93: 递归实现组合型枚举

Acwing93: https://www.acwing.com/problem/content/95/https://www.acwing.com/problem/content/95/

2022-01-11 16:48:35 91

原创 补题报告:Codeforces Round #764 Div.3

补题报告:Codeforces Round #764 Div.3A. Plus One on the SubsetB. Squares and CubesC. Division by Two and PermutationD. Palindromes ColoringE. Masha-forgetfulF. Interacdive ProblemG. MinOr TreeA. Plus One on the Subsethttps://codeforces.com/contest/1624/probl

2022-01-11 14:27:23 520 2

原创 补题报告:Codeforces Round #762 (Div. 3) [更新中...]

补题报告:Codeforces Round #762 Div.3A. Square String?B. Squares and CubesC. Wrong AdditionD. New Year's ProblemE. MEX and IncrementsF. Let's Play the Hat?G. Unusual MinesweeperH. Permutation and QueriesA. Square String?https://codeforces.com/contest/1619/pro

2021-12-27 22:29:42 787

空空如也

空空如也

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

TA关注的人

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