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 following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2015-07-01 18:23:35
阅读次数:
110
Acdream 1203 KIDx's Triangle(解三角形)...
分类:
其他好文 时间:
2015-07-01 12:24:38
阅读次数:
129
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:
其他好文 时间:
2015-06-29 11:26:26
阅读次数:
106
.triangle{
display: block;
height: 0;
position: absolute;
width: 0;
border: 9px solid;
border-color: transparent #bbb;
border-right-width: 0;
}...
分类:
Web程序 时间:
2015-06-29 00:35:37
阅读次数:
204
问题:You are given the side lengths of a triangle, determine is it an acute triangle, right triangle or obtuse triangle.InputThe first line contains an ...
分类:
其他好文 时间:
2015-06-29 00:14:41
阅读次数:
102
运行效果
代码及解析:
//
// Triangle.cpp
// Triangle
//
// Created by fengsser on 15/6/20.
// Copyright (c) 2015年 fengsser. All rights reserved.
//
#include //用作掩盖不同平台的差异,建立窗口等工作
#include
#ifdef __A...
分类:
其他好文 时间:
2015-06-28 17:06:01
阅读次数:
103
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...
分类:
其他好文 时间:
2015-06-26 01:45:50
阅读次数:
204
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 following triangle
The minimum path sum from top to...
分类:
其他好文 时间:
2015-06-24 14:46:17
阅读次数:
94
题意: 给出n(<=1000)条线段的长度ai(<=10^500),输出任意三条能组成三角形的边.没有输出3个0.Solution: 简单题.只是要处理高精度. java大法好.import java.util.*;import java.math.*;public class Soluti...
分类:
其他好文 时间:
2015-06-24 00:43:19
阅读次数:
114
这个月月初我们一行三人去湖南参加了ccpc湖南程序设计比赛,虽然路途遥远,六月的湘潭天气燥热,不过在一起的努力之下,拿到了一块铜牌,也算没空手而归啦。不过通过比赛,还是发现我们的差距,希望这几个月自己努力思考,积极刷题,为九月份acm网络赛做准备!言归正传说说这道题目,这也是这次比赛想到AC比较高的...
分类:
其他好文 时间:
2015-06-21 13:03:56
阅读次数:
342