原题地址:https://oj.leetcode.com/problems/triangle/题意:Given
a triangle, find the minimum path sum from top to bottom. Each step you may move
to adjacent n...
分类:
编程语言 时间:
2014-06-06 17:31:34
阅读次数:
397
题目:
链接:点击打开链接
题意:
xx喜欢收集鞋子,n,m,k分别表示鞋子的总数,xx的钱和鞋子的品牌数目。然后给出每个鞋子的信息有:a,是那种品牌,b,鞋子的标价,c,收藏鞋子得到的价值。对于一个收藏家来说,每种品牌的鞋子只收集一种,求出xx能够得到的最大的收藏价值。
算法:
分组背包问题。
思路:
m总的钱数是背包...
分类:
其他好文 时间:
2014-06-04 22:55:34
阅读次数:
270
10 body language love signals 10种散发着爱情信号的肢体语言 Do
you ever wish there was a magic wand that would make you more attractive to the
opposite sex, or at l...
分类:
其他好文 时间:
2014-06-03 12:15:10
阅读次数:
359
title:
The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:
1, 3, 6, 10,...
分类:
其他好文 时间:
2014-06-01 10:31:26
阅读次数:
233
这道题还是挺难的一道题,想法很重要 1 public class Solution { 2
public int minimumTotal(List> triangle) { 3 int size = triangle.size(); 4
int[] leve...
分类:
其他好文 时间:
2014-05-30 18:22:50
阅读次数:
249
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-30 14:59:37
阅读次数:
241
都怪自己太懒了
这段时间比赛参加了大部分,但是一直都没写题解,趁这几天没事,计划把这段时间的题解都补上。上一次比赛(248)终于升到了div1,所以从这次开始就开始写div1了。A.
TriangleThere is a right triangle with legs of lengthaandb...
分类:
其他好文 时间:
2014-05-30 11:15:42
阅读次数:
296
此页面为WP8“I LOVE YOU”应用的发布页面。”I LOVE
YOU“是一款可以记录情侣间日常甜蜜时刻的WP8应用,可保存文字、图片、音频、视频等文件。此页面主要记录开发进度、APP发布等情况。-------------------相关进度---------------------目前进度:...
分类:
其他好文 时间:
2014-05-29 01:12:55
阅读次数:
247
转自:http://blog.163.com/magicc_love/blog/static/185853662201111101210847/1、安装2、注册3、配置window
----> preferences(1)配置 JDKjava--->Installed JREs --> Add --...
分类:
系统相关 时间:
2014-05-26 17:31:18
阅读次数:
557
LeetCode Problem-- Triangle 路径求最小和
动态规划问题...
分类:
其他好文 时间:
2014-05-25 21:33:33
阅读次数:
246