码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
1027. Colors in Mars (20)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 dig...
分类:其他好文   时间:2015-03-03 18:41:14    阅读次数:133
leetcode--2
#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...
分类:其他好文   时间:2015-03-03 13:46:26    阅读次数:154
1027. Colors in Mars
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 dig...
分类:其他好文   时间:2015-03-03 09:59:09    阅读次数:150
1024. Palindromic Number (25)
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers...
分类:其他好文   时间:2015-03-02 19:09:13    阅读次数:151
1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number con...
分类:其他好文   时间:2015-03-02 19:09:06    阅读次数:193
1019. General Palindromic Number
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers...
分类:其他好文   时间:2015-03-02 09:36:02    阅读次数:111
hdu3709---Balanced Number(数位dp)
Problem Description A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the dig...
分类:其他好文   时间:2015-03-01 21:05:16    阅读次数:134
SPOJ10606---Balanced Numbers(三进制数位dp)
Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if:1) Every even digit appears an odd number of times in its decimal representat...
分类:其他好文   时间:2015-02-28 21:40:21    阅读次数:112
【题解】-航电OJ1013 Digital Roots
Problem Description The 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 digit is the digital root. If the resu...
分类:其他好文   时间:2015-02-28 01:35:08    阅读次数:142
A1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135...
分类:其他好文   时间:2015-02-27 20:12:12    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!