码迷,mamicode.com
首页 >  
搜索关键字:poj 3087 shufflem up    ( 27914个结果
[USACO16OPEN] Diamond Collector S | (贪心+线性DP)
###题目描述 Bessie the cow, always a fan of shiny objects, has taken up a hobby of mining diamonds in her spare time! She has collected \(N\) diamonds \(( ...
分类:其他好文   时间:2020-07-06 19:44:16    阅读次数:76
Jmeter的使用
一、Jmeter元件 1.测试计划 测试计划可以对线程组进行控制 2.线程组 线程组参数详解 线程数:虚拟用户数。一个虚拟用户占用一个进程或线程。设置多少虚拟用户数在这里也就是设置多少个线程数。 Ramp-Up Period(in seconds)准备时长:设置的虚拟用户数需要多长时间全部启动。如果 ...
分类:其他好文   时间:2020-07-05 19:09:26    阅读次数:74
LTE - Create Synchronization Signals
In this example, the primary and secondary synchronization signals are created and mapped to a resource grid. Set up the cell-wide settings. Create a ...
分类:其他好文   时间:2020-07-05 17:46:46    阅读次数:79
背包dp(完全)
http://poj.org/problem?id=3181 高精+背包 完全背包求方案数则只需dp[ j ] + = dp[ j - w[ i ] ]即可;任意一种背包方案计算都只需将max变为+; 这道题要注意,求方案数一般有很多,不mod,就自己看看数据是否超内存; dp[ i ]存放前18位 ...
分类:其他好文   时间:2020-07-05 00:49:16    阅读次数:92
lightoj1422 Halloween Costumes
题目链接:https://vjudge.net/problem/LightOJ-1422 简单题意:参加n场舞会,编号为i的场次需要穿衣服i。衣服可以叠着穿,只看最外层的衣服,而且脱下后不能再穿。求最少要买的衣服数 不太能想到这是个区间dp吧,而且方程和以前做的简单区间dp(能量项链,poj2955 ...
分类:其他好文   时间:2020-07-04 23:04:07    阅读次数:91
Leetcode: 1449. Form Largest Integer With Digits That Add up to Target
Description Given an array of integers cost and an integer target. Return the maximum integer you can paint under the following rules: The cost of pai ...
分类:其他好文   时间:2020-07-04 16:59:34    阅读次数:73
CTF-never give up
CTF-never give up 100 点击进入界面,F12看下有个提示 1.html,查看一下发现是官方……. 进行brupsuite抓包试试 发现有一大串java代码+注释 进行url解码 var Words =" " function OutWord() { var NewWords; N... ...
分类:其他好文   时间:2020-07-04 13:31:26    阅读次数:57
The Suspects POJ - 1611
The Suspects 题目:编号为0的人有传染病,同组中只要有一个人有传染病,该组的人都被看做有传染病,一个人可以在多组中,问有多少人有传染病。 思路:并查集,需要压缩并查集的树,编号小的点优先作为祖先(0为root),并查集过程中传递祖先的同时传递祖先是否是病人,最后再次遍历所有人,使得祖先是 ...
分类:其他好文   时间:2020-07-04 01:20:05    阅读次数:57
167. Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:其他好文   时间:2020-07-03 21:49:23    阅读次数:77
POJ 2388
用下`nth_element`逃课,不熟的话在快排的基础上改下随机选择算法也是一样的 ...
分类:其他好文   时间:2020-07-03 17:15:27    阅读次数:58
27914条   上一页 1 ... 24 25 26 27 28 ... 2792 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!