- 博客(4)
- 收藏
- 关注
原创 2020 CCPC Wannafly-Winter Camp Day 1 [ 模拟 大数 二分 未完待续
B-密码学传送门Solution模拟注意:key长度需补齐至大于等于mCode#include<bits/stdc++.h>#define O_O ios::sync_with_stdio(false);cin.tie(0); cout.tie(0);using namespace std;typedef long long ll;const int maxn ...
2020-01-31 17:39:14
150
原创 【2019 Multi-University Training Contest 9 1006/ HDU 6685】Rikka with Coin
原题传送门Problem DescriptionRikka hates coins, and she used to never carry any coins with her. These days, Rikka is doing her summer internship abroad. Without mobile payment, Rikka has to face strange...
2019-08-19 21:32:01
203
原创 【2019牛客暑期多校训练营(第七场)】C Governing sand [线段树]
n中树,第i种树有P[i]颗,砍掉每颗树的代价是C[i], 高度是H[i]. • 需要用最小的代码砍掉一些树,让最高的树超过一半。从从低到高枚举最高的树,在剩下的树当中砍掉代价最小的。可以用一颗线段树维护。 • 线段树按照代价从小到大的顺序构建,支持加入类树,查询前x个的总和。...
2019-08-16 22:45:09
7707
原创 【2019牛客暑期多校训练营(第五场)】G subsequence 1 [组合数+基础DP]
【2019牛客暑期多校训练营(第五场)】G subsequence 1 [基础DP]Problem DescriptionInputOutputSample InputSample Output题目大意思路样例解释代码题目传送门Problem DescriptionYou are given two strings s and t composed by digits (characters...
2019-08-02 17:16:32
175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人