码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
ZOJ 3793 First Digit
rt,直接猜1 First Digit Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge Benford's Law, also called the First-Digit Law, refers to the frequency distribution of digits i...
分类:其他好文   时间:2014-06-20 13:04:39    阅读次数:277
projecteuler---->problem=4----Largest palindrome product
title: Largest palindrome product Problem 4 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99. Find the l...
分类:其他好文   时间:2014-06-07 01:24:27    阅读次数:398
【Leetcode】Letter Combinations of a Phone Number
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...
分类:其他好文   时间:2014-06-06 17:50:38    阅读次数:284
LeetCode: Plus One [067]
【题目】 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后的值。 【思路】 从低位到高位依次相加,注意处理进...
分类:其他好文   时间:2014-06-05 01:24:44    阅读次数:250
POJ 1150 The Last Non-zero Digit 数论+容斥
POJ 1150 The Last Non-zero Digit 数论+容斥 题目地址:  POJ 1150 题意:  求排列P(n, m)后面第一个非0的数。 分析: 为了熟悉题目中的理论,我先做了俩初级的题目:  POJ 1401,题解见:POJ 1401 && ZOJ 2202 Factorial 阶乘N!的末尾零的个数  NYOJ 954,题解见:NYO...
分类:其他好文   时间:2014-06-04 22:49:42    阅读次数:322
Plus One
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...
分类:其他好文   时间:2014-06-04 19:19:52    阅读次数:185
正则表达式之基础篇
今天看了鸟哥的linux私房菜,关于正则表达式:简单做笔记如下: [:upper:] 大写字母 A-Z [:lower:] 小写字母 a-z [:digit:]  数字 0-9 [:alpha:] 字母   A-Z a-z [:alnum:] 字母和数字 A-Z a-z 0-9 首先介绍几个字符: ^ 表示行首  (^在方括号[ ]内表示不包含,在[ ]外表示行首!!!)...
分类:其他好文   时间:2014-06-02 22:29:06    阅读次数:238
projecteuler---->problem=13----Large sum
title: Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 4637693767749000971264812489697007805041701826053...
分类:其他好文   时间:2014-06-01 08:53:33    阅读次数:276
poj2196
Specialized Four-Digit NumbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7238Accepted: 5285DescriptionFind and list all four-digit numbe...
分类:其他好文   时间:2014-05-26 19:18:49    阅读次数:250
LeetCode:Add Two Numbers
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 i...
分类:其他好文   时间:2014-05-25 21:36:52    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!