码迷,mamicode.com
首页 >  
搜索关键字:triangle love    ( 2860个结果
杭电 1030 Delta-wave
Delta-wave Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5447    Accepted Submission(s): 2063 Problem Description A triangle field i...
分类:其他好文   时间:2014-05-11 19:56:01    阅读次数:349
C 语言写的爱情诗歌
/* ******************************************* ***** File Name: Love.c ***** Description: Love Story about you and me ***** Author: JPing.Cai ***** Date: 2014-5-10 ***** Last Version: 1.0 * *******...
分类:其他好文   时间:2014-05-11 14:15:46    阅读次数:290
POJ 2079 凸包最大内接三角形
Triangle Time Limit: 3000MS   Memory Limit: 30000K Total Submissions: 8038   Accepted: 2375 Description Given n distinct points on a plane, your task is to find the triangl...
分类:其他好文   时间:2014-05-11 06:36:44    阅读次数:425
转 mysql 中sql 语句查询今天、昨天、7天、近30天、本月、上一月 数据
转自 http://blog.csdn.net/ve_love/article/details/19685399
分类:数据库   时间:2014-05-10 08:04:50    阅读次数:266
输入参数和方法
在【CodeSmith快速入门之一:初次接触CodeSmith】中,我们实现了最简单的模板,但是模板中的内容无法由用户的输入决定。假定你女朋友要你在新年的时候说10次“I LOVE YOU”,而在情节人那天要你说1000次“I LOVE YOU FOR EVER”,这可怎么办呢?我们经过分析,其实就...
分类:其他好文   时间:2014-05-10 07:09:56    阅读次数:300
Highly divisible triangular number
我的那个暴力求解,太耗时间了。用了网上产的什么因式分解,质因数之类的。确实快!还是数学基础不行,只能知道大约。The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangl...
分类:其他好文   时间:2014-05-09 23:43:16    阅读次数:342
nefu 652 Triangle
题目:给定一个三角形的...
分类:其他好文   时间:2014-05-09 02:05:21    阅读次数:230
[LeetCode][Java]Triangle@LeetCode
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-08 18:31:51    阅读次数:399
黑马程序员 Foundation框架之结构体
#import int main(){/* 1.NSRange/CGRange 2.NSPoint/CGPoint 3.NSSize/CGSize 4.NSRect/CGRct */// NSRange/CGRange(location,length)NSString *str = @"i love...
分类:其他好文   时间:2014-05-08 14:51:00    阅读次数:325
leetcode第一刷_Triangle
很简单的一道DP,看到空间限制是O(N)的,不要习惯性的以为是要保存每一行的最小值,不难想到是要保存一行当中各个数为路径终点时的和的大小。当算到最后一行时,就是从顶部到底部以这个底部位置为终点的最短路径和,找一个最小的就可以了。 实现的时候要注意个问题,因为计算时要用到上一行的数据,所以为了避免数据被覆盖,应该从后往前算,这个技巧用的很多,相信大家都很熟悉。 ac代码如下: class So...
分类:其他好文   时间:2014-05-08 04:01:44    阅读次数:282
2860条   上一页 1 ... 282 283 284 285 286 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!