码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
1036.old bill
Among grandfather's papers a bill was found. 72 turkeys $_679_ The first and the last digits of the number that obviously represented the total price ...
分类:其他好文   时间:2018-10-02 17:18:35    阅读次数:114
1124.Digitalroots
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 ...
分类:其他好文   时间:2018-10-01 17:55:47    阅读次数:180
[leetcode]66.Plus One
题目 Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most significan ...
分类:其他好文   时间:2018-10-01 11:56:00    阅读次数:238
Reverse Integer
Description: Given a 32-bit signed integer, reverse digits of an integer. Note: Assume we are dealing with an environment which could only store integ ...
分类:其他好文   时间:2018-09-27 01:37:06    阅读次数:162
2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2018-09-25 16:11:22    阅读次数:163
[LeetCode] 357. Count Numbers with Unique Digits
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example: Input: 2 Output: 91 Explanation: The answer shoul ...
分类:其他好文   时间:2018-09-25 01:31:19    阅读次数:174
leetcode 93-Restore IP Addresses(medium)
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: IP address is consist of 4 parts w ...
分类:其他好文   时间:2018-09-23 11:31:47    阅读次数:148
leetcode 17-Letter Combinations of a Phone Number(medium)
Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to le ...
分类:其他好文   时间:2018-09-22 15:13:26    阅读次数:132
【leetcode】2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2018-09-22 10:32:40    阅读次数:133
HDU - 4734 F(x) (数位DP)
For a decimal number x with n digits (A nA n-1A n-2 ... A 2A 1), we define its weight as F(x) = A n * 2 n-1 + A n-1 * 2 n-2 + ... + A 2 * 2 + A 1 * 1. ...
分类:其他好文   时间:2018-09-22 01:05:04    阅读次数:262
2164条   上一页 1 ... 37 38 39 40 41 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!