题意是 输入13,计算1到13组成的数字序列1234568910111213,里面的数字从0到9个出现了多少次,注意10是算为1,0个出现一次。 ...
分类:
其他好文 时间:
2019-01-15 21:33:57
阅读次数:
203
Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero. Return ...
分类:
其他好文 时间:
2019-01-13 14:19:23
阅读次数:
178
$\color{ 0066ff}{ 题目描述 }$ 给定两个正整数a和b,求在[a,b]中的所有整数中,每个数码(digit)各出现了多少次。 $\color{ 0066ff}{输入格式}$ 输入文件中仅包含一行两个整数a、b,含义如上所述。 $\color{ 0066ff}{输出格式}$ 输出文件 ...
分类:
其他好文 时间:
2019-01-09 11:46:17
阅读次数:
182
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher ...
分类:
其他好文 时间:
2019-01-06 12:49:51
阅读次数:
147
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:
其他好文 时间:
2019-01-06 11:53:55
阅读次数:
193
Grep:Linux文本处理三剑客grep:文本过滤(模式:pattern)工具Sed:文本编辑工具awk:Linux上的实现gawk,文本报告生成器:正则表达式引擎选项:-v:显示不能够被pattern匹配到的行;-q:静默模式,不输出任何信息基本正则表达式元字符字符匹配:.:匹配任意单个字符:[:digit:]、[:lower:]、[:upper:]、[:alnum:]、[:punct:]、[
分类:
其他好文 时间:
2018-12-30 23:19:15
阅读次数:
236
Jeff's got n cards, each card contains either digit 0, or digit 5. Jeff can choose several cards and put them in a line so that he gets some number. W ...
分类:
其他好文 时间:
2018-12-30 20:38:47
阅读次数:
174
lay('.test-item').each(function(){ var d = new Date(); laydate.render({ elem: this ,max: 0 ,value: d.getFullYear() + '-' + lay.digit(d.getMonth() + 1) ...
分类:
其他好文 时间:
2018-12-28 22:13:56
阅读次数:
862
Digit factorials Problem 34 Problem 34 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to t ...
分类:
其他好文 时间:
2018-12-21 01:04:57
阅读次数:
220
export function RMBFitter(n){ /**金额大写的转换 */ // var fraction = ['角', '分']; var digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']; var unit = [... ...
分类:
其他好文 时间:
2018-12-20 14:27:51
阅读次数:
180