码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
こだわり者いろはちゃん / Iroha's Obsession (暴力枚举)
Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement Iroha is very particular about numbers. There are K digits that she disl ...
分类:其他好文   时间:2017-08-04 21:29:08    阅读次数:260
EditText实现输入限制和校验
EditText实现输入限制和校验 一、方法 1)输入限制 1、通过android:digits限制只能输入小写abc android:digits="abc" 2、通过android:inputType限制只能输入数字 android:inputType="number" 在android:inp ...
分类:其他好文   时间:2017-08-04 20:34:06    阅读次数:188
[暑假集训--数位dp]hdu5787 K-wolf Number
Alice thinks an integer x is a K-wolf number, if every K adjacent digits in decimal representation of x is pairwised different. Given (L,R,K), please ...
分类:其他好文   时间:2017-08-04 13:57:04    阅读次数:177
[暑假集训--数位dp]LightOj1205 Palindromic Numbers
A palindromic number or numeral palindrome is a 'symmetrical' number like 16461 that remains the same when its digits are reversed. In this problem yo ...
分类:其他好文   时间:2017-08-04 13:44:41    阅读次数:438
[暑假集训--数位dp]hdu5898 odd-even number
For a number,if the length of continuous odd digits is even and the length of continuous even digits is odd,we call it odd-even number.Now we want to ...
分类:其他好文   时间:2017-08-04 13:43:24    阅读次数:179
leetcode2. 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 ...
分类:其他好文   时间:2017-08-03 18:48:43    阅读次数:121
LeetCode 66 Plus One(加一)(vector)
翻译 给定一个以一系列数字表示的非负数。将其加一并转换成数字。 数字存储的最高位在列的最前面。 原文 Given a non-negative number represented as an array of digits, plus one to the number. The digits a ...
分类:其他好文   时间:2017-08-03 14:57:52    阅读次数:172
Reverse Integer
题目 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 Have you thought about this? Here are some good questio ...
分类:其他好文   时间:2017-08-02 22:05:20    阅读次数:92
Digit Generator(生成元)
For a positive integer N, the digit-sum of N is defined as the sum of N itself and its digits. When M is the digitsum of N, we call N a generator of M ...
分类:其他好文   时间:2017-08-02 15:35:45    阅读次数:184
light oj 1045 - Digits of Factorial K进制下N!的位数
1045 - Digits of Factorial Factorial of an integer is defined by the following function f(0) = 1 f(n) = f(n - 1) * n, if(n > 0) So, factorial of 5 is ...
分类:其他好文   时间:2017-08-01 09:51:31    阅读次数:180
2164条   上一页 1 ... 67 68 69 70 71 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!