码迷,mamicode.com
首页 >  
搜索关键字:hdu acm 状态压缩    ( 41640个结果
hdu 4352 XHXJ's LIS 数位DP+最长上升子序列
题目描述 #define xhxj (Xin Hang senior sister(学姐))If you do not know xhxj, then carefully reading the entire description is very important.As the stronges ...
分类:其他好文   时间:2020-04-22 11:33:54    阅读次数:83
4.22 每日一题题解
小sun的假期 + 题目链接: "https://ac.nowcoder.com/acm/contest/1085/A" 涉及知识点: + 枚举/双指针/区间合并 solution: + $题目是让你输出最大的未被覆盖的区间长度$ + $首先按照l从小到大排序,如果l相等就按照r从小到大排序$ + ...
分类:其他好文   时间:2020-04-22 10:01:11    阅读次数:57
OJ刷题——字符逆转
题目描述 Birdfly是一位优秀的acmer,他自幼都数学有着浓烈的兴趣。作为一名集训队员,总爱思考一些新奇的问题,寻求不同的解题方法。Birdfly一直坚信freshmen的潜力是无穷的!因为你们是ZZULI ACM的未来!ACM的题目并不是那么简单,但这一题so easy!^_^一天晚上,bi ...
分类:其他好文   时间:2020-04-22 00:24:26    阅读次数:81
HZNU Training 23 for Zhejiang Provincial Competition 2020
F - F HDU - 2647 拓扑排序,从上往下回溯,挺好奇差分约束为啥就不对。拓扑排序有明显的优先级。 #include<bits/stdc++.h> using namespace std; #define pb push_back typedef long long ll; const i ...
分类:其他好文   时间:2020-04-22 00:02:10    阅读次数:67
配置中心-Apollo
配置中心 Apollo 2019/10/01 Chenxin 配置服务主要有 携程Apollo、百度Disconf、阿里ACM,目前以Apollo用户量最大.适用场景,多用于微服务,与K8S结合好. 携程Apollo https://github.com/ctripcorp/apollo Apoll ...
分类:其他好文   时间:2020-04-21 14:57:57    阅读次数:592
D - D HDU - 3282
D D HDU 3282 思路 题意:给我一个奇数长度为n的序列,从左到右依次输出 1~当前技术位置的 这个子区间内的中位数。 思路 1 .法一: 维护一个最小根堆、最大根堆(注意less 在priority_queue 中的数字排列的顺序是按从头部top 按数字大小逐渐递减,而gerater 在p ...
分类:其他好文   时间:2020-04-21 12:54:09    阅读次数:59
4.21 每日一题题解
勘测 + 题目链接: "https://ac.nowcoder.com/acm/contest/280/A" 涉及知识点: + 找规律/斐波那契数列 solution: + $先注意审题,这是一颗二叉树,而且模数是1e9+7$ + $先推出来前5项,分别为1,3,6,11,19$ + $没错,结束了 ...
分类:其他好文   时间:2020-04-21 09:49:05    阅读次数:82
小白1-1
链接:https://ac.nowcoder.com/acm/problem/15185 答案来自一位不认识的学者 不是本人打的 #include<iostream> #include<cmath> #include<iomanip> using namespace std; int main() ...
分类:其他好文   时间:2020-04-21 00:12:02    阅读次数:61
I - I HDU - 3466Proud Merchants(贪心+01背包)
I I HDU 3466Proud Merchants(贪心+01背包) Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in ...
分类:其他好文   时间:2020-04-20 14:04:37    阅读次数:77
hdu 4912
Paths on the treeProblem Descriptionbobo has a tree, whose vertices are conveniently labeled by 1,2,…,n.** There are m paths on the tree. bobo would l ...
分类:其他好文   时间:2020-04-19 18:07:45    阅读次数:62
41640条   上一页 1 ... 39 40 41 42 43 ... 4164 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!