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实现输入限制和校验 一、方法 1)输入限制 1、通过android:digits限制只能输入小写abc android:digits="abc" 2、通过android:inputType限制只能输入数字 android:inputType="number" 在android:inp ...
分类:
其他好文 时间:
2017-08-04 20:34:06
阅读次数:
188
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
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
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
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
翻译 给定一个以一系列数字表示的非负数。将其加一并转换成数字。 数字存储的最高位在列的最前面。 原文 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 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
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
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