码迷,mamicode.com
首页 >  
搜索关键字:hdu 4283    ( 30933个结果
leetcode-----90. 子集 II
链接:https://leetcode-cn.com/problems/subsets-ii/ 代码 class Solution { public: vector<vector<int>> ans; vector<int> path; vector<vector<int>> subsetsWith ...
分类:其他好文   时间:2020-07-16 00:27:10    阅读次数:75
【DP练习】B-number(HDU3652)
Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. ...
分类:其他好文   时间:2020-07-15 23:20:22    阅读次数:96
HDU Queuing (递推+矩阵快速幂)
##题面 Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our dai ...
分类:其他好文   时间:2020-07-12 17:05:48    阅读次数:132
Stirling数习题归档
列一下hdu,poj,CF上常见的Stirling数相关的习题(补充完善中): hdu2643 hdu3625 hdu4372 hdu4045 POJ1430 POJ2621 CF932E CF961G CF960G ...
分类:其他好文   时间:2020-07-12 16:52:18    阅读次数:64
HDU
##题面 Problem Description Lele now is thinking about a simple function f(x). If x < 10 f(x) = x. If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x ...
分类:其他好文   时间:2020-07-12 16:40:31    阅读次数:59
[暑假集训]开训复健练习赛:B - Find a way ——HDU - 2612
#include<iostream> #include<cmath> #include<algorithm> #include<string> #include<cstring> #define DEBUG if( 1 )//是否输出调试用信息 using namespace std; int W, ...
分类:其他好文   时间:2020-07-11 19:21:29    阅读次数:61
hdu 3625
hdu3625 第一类Stirling数 组合数学 计数 简单的习题 ...
分类:其他好文   时间:2020-07-10 17:02:16    阅读次数:58
HDU-2570迷瘴(贪心)
地址:http://acm.hdu.edu.cn/showproblem.php?pid=2570 解析: 想让最后的体积最大,肯定是先加入浓度小的。 所以贪心思路是,浓度从小到大加入。 注意: n种同体积的浓度分别为a,b,c...那么混合以后浓度为:(a+b+c+..)/n 所以从小到大加入即可 ...
分类:其他好文   时间:2020-07-09 17:52:11    阅读次数:89
HDU - 5919主席树区间不同数+区间第K大
HDU - 5919 题意:n个数,m个询问,每次询问区间[l,r],设[l,r]内不同的数有k个,它们在该区间第一个次出现的位置是p1,p2...pk(p1<p2<pk),回答p(k+1)/2. 思路:主席树查区间不同的数的个数这个就不说了,前面的博客有提到过。问题就在于我们在知道k之后,找p(k ...
分类:其他好文   时间:2020-07-09 00:40:09    阅读次数:145
hdu 4372
hdu 4372 第一类Sitiling数 简单的组合计数问题 [圆排列 ...
分类:其他好文   时间:2020-07-08 19:39:27    阅读次数:38
30933条   上一页 1 ... 10 11 12 13 14 ... 3094 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!