题目描述我们把十进制整数依次写成一个字符串,123456789101112…请问第n位数码是多少?输入第一行是一个整数T(T≤10000),表示样例的个数。 每行输入一个整数n(1≤n≤788888899)。输出每行输出一个样例的结果。样例输入21788888899样例输出11#include#in...
分类:
其他好文 时间:
2015-04-26 16:39:32
阅读次数:
177
问题:Add Two Numbers 难度-MediumYou 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 nu...
分类:
其他好文 时间:
2015-04-25 18:27:50
阅读次数:
130
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-04-24 01:04:53
阅读次数:
138
题目:
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 numbers and return it ...
分类:
其他好文 时间:
2015-04-23 21:50:12
阅读次数:
155
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-04-22 20:32:54
阅读次数:
145
##velocity 数字格式化处理 #macro(numSplit $num $digits) #set($nums = "$!{num}.0") #set($arr = $nums.split("\.")) #set($int = $arr[0]) #set($digit = $arr[1]) #set($pad = $digits - $digit.length()) ...
分类:
其他好文 时间:
2015-04-20 22:50:09
阅读次数:
150
题目描述Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.使用字符串表示数字,对数字进行“加1”操作,返回结...
分类:
其他好文 时间:
2015-04-18 23:48:52
阅读次数:
208
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-04-18 17:23:35
阅读次数:
97
1、标签校验validator="decimal(16,2,+)"validator="text(0,10)"validator="digit(0,10000000)"validator="date(yyyy-mm-dd)"validator="date(yyyy-mm-dd)" style="te...
分类:
其他好文 时间:
2015-04-18 15:57:22
阅读次数:
1106
题目:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep...
分类:
其他好文 时间:
2015-04-17 01:03:11
阅读次数:
128