码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
Phone numbers
Phone number in Berland is a sequence of n digits. Often, to make it easier to memorize the number, it is divided into groups of two or three digits. ...
分类:其他好文   时间:2018-02-10 14:00:28    阅读次数:212
681. Next Closest Time(Accepted)
Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit ...
分类:其他好文   时间:2018-02-10 11:21:00    阅读次数:156
Python简单实现产生随机位数的密码及注意事项小结
Python简单实现产生随机位数的密码#!/usr/bin/python#coding:utf-8#产生任意位数的随机密码importrandom,string#导入随机数和字符串模块x=string.digits+string.letters#将数字和字母的字符串组合赋值给变量xpasswd=‘‘#原始密码变量是空a=int(raw_input(‘请输入密码位数:'
分类:编程语言   时间:2018-02-09 15:39:07    阅读次数:192
13.leetcode66_plus_one
1.题目描述 Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any ...
分类:其他好文   时间:2018-02-07 00:49:00    阅读次数:129
[AtCoder arc090F]Number of Digits
Description "题库链接" 记 $d$ 在十进制下的位数为 $f(d)$ 。给出询问 $S$ ,求有多少对 $(l,r)$ 使得 $$\sum_{i=l}^r f(i)=S$$ $1\leq S\leq 10^8$ Solution 颓了题解... 注意到当数字越大时 $f(r) f(l) ...
分类:其他好文   时间:2018-02-03 16:07:40    阅读次数:156
PAT 1082. Read Number in Chinese
Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For exam ...
分类:其他好文   时间:2018-02-03 16:02:50    阅读次数:107
hdu 4734 数位dp
题意:For a decimal number x with n digits (AnAn-1An-2 ... A2A1), we define its weight as F(x) = An * 2n-1 + An-1 * 2n-2 + ... + A2 * 2 + A1 * 1. Now you ...
分类:其他好文   时间:2018-02-03 13:11:00    阅读次数:169
技巧之 -- 8 的倍数
You are given a non-negative integer n, its decimal representation consists of at most 100 digits and doesn't contain leading zeroes. Your task is to ...
分类:其他好文   时间:2018-02-02 18:30:16    阅读次数:195
LeetCode 258. Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:其他好文   时间:2018-01-31 11:19:43    阅读次数:119
利用神经网络算法的C#手写数字识别
这是一篇基于Mike O'Neill 写的一篇很棒的文章:神经网络的手写字符识别(Neural Network for Recognition of Handwritten Digits)而给出的一个人工神经网络实现手写字符识别的例子。尽管在过去几年已经有许多系统和分类算法被提出,但是手写识别任然是... ...
分类:编程语言   时间:2018-01-30 19:56:42    阅读次数:356
2164条   上一页 1 ... 52 53 54 55 56 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!