码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
LeetCode——Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-06-09 21:30:59    阅读次数:96
Codeforces550C:Divisibility by Eight
You are given a non-negative integer n, its decimal representation consists of at most 100 digits and doesn't contain leading zeroes. Your task is to determine if it is possible in this case to r...
分类:其他好文   时间:2015-06-09 17:21:09    阅读次数:133
Leetcode[66]-Plus One
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.题意:给定一个数组,表示的是非负数的各个位的数,现在将该数...
分类:其他好文   时间:2015-06-09 17:19:22    阅读次数:89
Container With Most Water :
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin...
分类:其他好文   时间:2015-06-09 13:53:19    阅读次数:104
leetcode:Count Primes
Description:Count the number of prime numbers less than a non-negative number,n.本题给定一个非负数n,让我们求小于n的质数的个数,解题方法就在第二个提示埃拉托斯特尼筛法Sieve of Eratosthenes中,这个算...
分类:其他好文   时间:2015-06-08 22:57:05    阅读次数:153
leetcode——2
1. 题目Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nod...
分类:其他好文   时间:2015-06-08 19:18:28    阅读次数:173
cf 550 C Divisibility by Eight
You are given a non-negative integern, its decimal representation consists of at most100digits and doesn't contain leading zeroes.Your task is to dete...
分类:其他好文   时间:2015-06-08 18:53:55    阅读次数:190
[LeetCode] Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linke...
分类:其他好文   时间:2015-06-08 15:05:57    阅读次数:91
Add Two Numbers 2015年6月8日
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-06-08 12:57:49    阅读次数:163
leetcode_64题——Minimum Path Sum(动态规划)
Minimum Path SumTotal Accepted:38669Total Submissions:120082My SubmissionsQuestionSolutionGiven amxngrid filled with non-negative numbers, find a path...
分类:其他好文   时间:2015-06-08 11:07:16    阅读次数:95
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!