码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
hdu3709 数位dp(自身平衡的数字)
http://acm.hdu.edu.cn/showproblem.php?pid=3709 Problem Description A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagi...
分类:其他好文   时间:2015-02-22 23:06:28    阅读次数:194
UVa1583 - Digit Generator(简单的数学题)
题意:某个数加上该数的各个位数的和等于另一个数,那么这个数就是另一个数的生成元。求生成元,不存在则输出0;KEY:打表,减少运算;/*打表,一般不是很复杂的数学题试试打表找到规律*/#include #include #include const int maxn = 100000 + 5;int ...
分类:其他好文   时间:2015-02-22 13:26:51    阅读次数:197
HDOJ(1013) ——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 resultin...
分类:其他好文   时间:2015-02-22 11:07:30    阅读次数:116
PAT1023. Have Fun with Numbers
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-21 16:33:11    阅读次数:132
UVa1583 Digit Generator
For a positive integerN, the digit-sum ofNis defined as the sum ofNitself and its digits. WhenMis the digitsum ofN, we callNageneratorofM.For example,...
分类:其他好文   时间:2015-02-21 00:15:15    阅读次数:153
PAT1069. The Black Hole of Numbers
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre...
分类:其他好文   时间:2015-02-19 12:54:32    阅读次数:138
(hdu step 4.1.5)find the nth digit(求S串中的第n个位置上是什么数字)
题目:find the nth digitTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 689 Accepted Submission(s): 244 Problem Description假设:S1 = 1S2 = 12S3 = 123S4 ...
分类:其他好文   时间:2015-02-16 21:01:57    阅读次数:271
Codeforces Round #291 (Div. 2)
A. Chewbaсca and Number题意:Inverting digit t means replacing it with digit 9?-?t. Print the minimum possible positive number that Chewbacca can obtain ...
分类:其他好文   时间:2015-02-16 01:41:05    阅读次数:224
Letter Combinations of a Phone Number
https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/Given a digit string, return all possible letter combinations that the number c...
分类:其他好文   时间:2015-02-13 18:20:16    阅读次数:119
Javascript——dom常用操作-- date操作
var Dates = { //补位 digit: function (m) { return +m = 86400000) { return timestamp + _datenow.getHours(...
分类:编程语言   时间:2015-02-13 14:37:03    阅读次数:338
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!