shyyhs
shyyhs
全部文章
题解
DP专题(52)
图论(4)
多校补题(2)
数据结构(27)
数论(4)
日记(14)
未归档(38)
归档
标签
去牛客网
登录
/
注册
shyyhs的博客
全部文章
/ 题解
(共24篇)
Mike and distribution
来自专栏
#include <iostream> #include <algorithm> using namespace std; const int N=1e5+50; struct Tx{ int a,b,id; }w[N]; bool cmp(Tx A,Tx B) ...
题解
2021-01-11
3
660
牛客小白月赛31 题解
来自专栏
我是个小菜鸡...只是从今天开始是我认真学习的第一天)不想当划水怪了.赛后感觉和赛时真不一样... A.A|B 我写的是数位dp...第一次自己写出数位dp也挺激动的,虽然挺水的..首先我们开个f[2][31]数组来记忆化一下,然后就是模拟这个过程了,看这位是不是已经比x小了,小了下一位可以任意选....
题解
2021-01-11
3
749
AtCoder Beginner Contest 187
来自专栏
题解
2021-01-09
0
595
Codeforces Round #695 (Div. 2)
来自专栏
题解
2021-01-09
0
573
Codeforces Round #694 (Div. 2)
来自专栏
题解
2021-01-06
1
655
Codeforces Round #693 (Div. 3)
来自专栏
前言: 期末考试重修还更博客= - =) A. Cards for Friends 直接按题意模拟,看可以分成多少个2的次幂. #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N=...
题解
2021-01-05
6
801
Good Bye 2020
来自专栏
题解
2020-12-31
3
634
Educational Codeforces Round 101 (Rated for Div. 2)
来自专栏
题解
2020-12-31
2
635
Codeforces Round #692 (Div. 2)
来自专栏
按题意模拟 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+500; int w[N]; int main() { int T; scanf("%d",...
题解
2020-12-22
9
794
Codeforces Round #691 (Div. 2)
来自专栏
题目给你蓝,红问你哪种大的更多一些?首先我们比较大小肯定会考虑最高位,然后考虑次高位,但是这些又有什么用呢,直接比较蓝红的数量就行了. #include <bits/stdc++.h> using namespace std; const int N=2e5+500; int w[N];...
题解
2020-12-21
5
838
首页
上一页
1
2
3
下一页
末页