码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
SPOJ 12943. Counting, dp ,巧妙
Given integers N and M, output in how many ways you can take N distinct positive integers such that sum of those integers is M. Since result can be huge, output it modulo 1000000007 (10^9 + 7) N ...
分类:其他好文   时间:2014-12-03 00:24:54    阅读次数:230
[Leetcode] First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-12-01 17:31:54    阅读次数:145
sicily 1500. Prime Gap
DescriptionThe sequence of n ? 1 consecutive composite numbers (positive integers that are not prime and not equal to 1) lying between two successive ...
分类:其他好文   时间:2014-11-30 14:00:35    阅读次数:192
Circuit translates I2C voltages
This Design Idea explores level-shifting an I2C bus from 5V/ground (positive domain) to ground/–5V (negative domain). In multisupply systems, you some...
分类:其他好文   时间:2014-11-28 14:15:37    阅读次数:226
Lower dc/dc-converter ripple by using optimum capacitor hookup
Low-ripple-voltage positive-to-negative dc/dc converters find use in many of today's high- frequency and noise-sensitive disk drives, battery-powered ...
分类:其他好文   时间:2014-11-28 14:08:43    阅读次数:251
Transformerless dc/dc converter produces bipolar outputs
The conventional way to produce dual (positive and negative) outputs from a single positive input is to use a transformer. Although such designs are r...
分类:其他好文   时间:2014-11-28 14:08:17    阅读次数:145
Constant-on-time buck-boost regulator converts a positive input to a negative output
Buck regulators find wide application as step-down regulators for converting large positive input voltages into a smaller positive output voltages.Fig...
分类:其他好文   时间:2014-11-28 14:05:24    阅读次数:269
Leetcode-First Missing Positive
Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sh...
分类:其他好文   时间:2014-11-27 00:12:55    阅读次数:338
Fill
Description There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the third ...
分类:其他好文   时间:2014-11-26 22:47:13    阅读次数:357
Digital Roots
BackgroundThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that dig...
分类:其他好文   时间:2014-11-26 20:37:15    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!