码迷,mamicode.com
首页 >  
搜索关键字:lifting the stone    ( 411个结果
Stone Game II
Description Description There is a stone game.At the beginning of the game the player picks n piles of stones in a circle. The goal is to merge the st ...
分类:其他好文   时间:2019-12-21 22:30:37    阅读次数:83
Introduction of sand washer
Sand washer can separate the stone powder, clay from the aggregates. It is applied in construction site, sandstone factory, precast yard, and water an... ...
分类:其他好文   时间:2019-11-07 14:50:32    阅读次数:96
LeetCode 1049. Last Stone Weight II
原题链接在这里:https://leetcode.com/problems/last-stone-weight-ii/ 题目: We have a collection of rocks, each rock has a positive integer weight. Each turn, we ...
分类:其他好文   时间:2019-11-03 10:27:37    阅读次数:81
LeetCode 1046. Last Stone Weight
原题链接在这里:https://leetcode.com/problems/last-stone-weight/ 题目: We have a collection of rocks, each rock has a positive integer weight. Each turn, we cho ...
分类:其他好文   时间:2019-11-03 10:26:45    阅读次数:81
【CF1110E】 Magic Stones - 差分
题面 Grigory has n n magic stones, conveniently numbered from $1$ to $n$. The charge of the $i$ th stone is equal to $c_i$. Sometimes Grigory gets bored ...
分类:其他好文   时间:2019-11-01 14:40:58    阅读次数:85
csps模拟87888990部分题解
实数二分,最短路,线段树,记忆化搜索,模拟,状压dp,杜教筛 maze,bird,stone,军训队列,山屋惊魂,彩球问题 ...
分类:其他好文   时间:2019-10-28 20:52:24    阅读次数:97
POJ 2253 Frogger
题目链接: "POJ 2253" Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone ...
分类:其他好文   时间:2019-10-11 23:11:22    阅读次数:97
poj-2232 New Stone-Forfex-Cloth Game 思维题
Acm is a clever boy, and he developed a new game form the old Stone-Forfex-Cloth game. In this game, a number of children sit in a circle, each one sh ...
分类:其他好文   时间:2019-10-02 10:47:20    阅读次数:96
01背包方案数(变种题)Stone game--The Preliminary Contest for ICPC Asia Shanghai 2019
题意:https://nanti.jisuanke.com/t/41420 给你n个石子的重量,要求满足(Sum<=2*sum<=Sum+min)的方案数,min是你手里的最小值。 思路: 从最大重量的石子开始背包,每次ans+=dp【j-v【i】】就行了。 ...
分类:其他好文   时间:2019-09-17 19:00:55    阅读次数:74
J. Stone game(背包问题)
题:https://nanti.jisuanke.com/t/41420 定义 dp[x][y] 表示第 x 个数到最后一个数能组成和为 y 的方案数 #include<bits/stdc++.h> using namespace std; typedef long long ll; const i ...
分类:其他好文   时间:2019-09-16 00:20:33    阅读次数:71
411条   上一页 1 2 3 4 5 6 ... 42 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!