码迷,mamicode.com
首页 >  
搜索关键字:humble numbers    ( 7694个结果
UVA - 12036 Stable Grid
Description  Stable Grid  Consider a grid of size n x n where each cell contains a number. Let's call a grid stable if we canrearrange the numbers of each row so that every col...
分类:其他好文   时间:2014-08-15 10:42:58    阅读次数:190
Triangle
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-08-14 23:26:46    阅读次数:219
Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path....
分类:其他好文   时间:2014-08-14 20:50:59    阅读次数:192
[LeetCode] Combinations (bfs)
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example, If n = 4 and k = 2, a solution is:[ [2,4], [3,.....
分类:其他好文   时间:2014-08-14 20:26:49    阅读次数:202
【HackerRank】Find the Median(Partition找到数组中位数)
In the Quicksort challenges, you sorted an entire array. Sometimes, you just need specific information about a list of numbers, and doing a full sort ...
分类:其他好文   时间:2014-08-14 20:10:19    阅读次数:275
poj1724
ROADSTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 10804Accepted: 3976DescriptionN cities named with numbers 1 ... N are connected with one...
分类:其他好文   时间:2014-08-14 10:40:08    阅读次数:265
[LeetCode] Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.For example, Given 1->2...
分类:其他好文   时间:2014-08-14 01:01:07    阅读次数:230
UVA - 12046 Great Numbers
Description Problem G - Great Numbers In this problem you have to count the number of great numbers of length n. Here a great number must have the following property: the number must be divis...
分类:其他好文   时间:2014-08-13 22:35:27    阅读次数:219
leetcode -- Two Sum
文能深情寻萝莉,武能仗义护人妻[问题描述]Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return ...
分类:其他好文   时间:2014-08-13 14:51:56    阅读次数:228
POJ 1504,ZOJ 2001,UVA 713, Adding Reversed Numbers,错误,已找到错误
------------------------------------------------------------以此题警告自己:总结,1.在数组的使用时,一定别忘了初始化2.在两种情况复制代码时,一定要小心,注意修改变量名,一不留神就会带来不可估量的后果,一定要仔细挨着一个一个变量的修改,别...
分类:其他好文   时间:2014-08-13 13:00:56    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!