码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
POJ 1674
1 #include//cheng da cai zi 08 .11 .13 2 using namespace std; 3 int main() 4 { 5 int digit_num; 6 int result=0; 7 int i; 8 int time; ...
分类:其他好文   时间:2015-06-10 17:06:26    阅读次数:108
shell脚本(四)
shell脚本(四) (7)tr命令 #实现字符转换功能 #-cstring:反选string字符集,即除了该字符串的所有字符集 #-dstring:删除string中出现的所有字符 #-s:删除所有重复出现的字符序列,只保留一个 #删除所有数字 tr-d"[[:digit:]]"<name.txt tr-d0-9<name.txt #所有小写..
分类:系统相关   时间:2015-06-10 15:52:00    阅读次数:152
Leetcode[66]-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 the head of the list.题意:给定一个数组,表示的是非负数的各个位的数,现在将该数...
分类:其他好文   时间:2015-06-09 17:19:22    阅读次数:89
POJ 1102
#include// cheng da cai zi 11.14using namespace std;int main(){ int i; int j; int k; int size; int num; int digit_array[8]; for(...
分类:其他好文   时间:2015-06-09 15:38:19    阅读次数:116
POJ 1019
#include// chengdacaizi 注释using namespace std;long long key[35000]={0};//在dev中可以这么定义,代表64bitsint getDigit(int n)//计算位数的函数{ int digit=1; while(n/10) { ...
分类:其他好文   时间:2015-06-09 15:26:41    阅读次数:86
[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 it as a linke...
分类:其他好文   时间:2015-06-08 15:05:57    阅读次数:91
Digit (数位DP)
一个正整数的价值就是把这个数的十进制写出来之后,最长的等差子串的长度。求出在[l,r]范围内的数字的价值总和。(lb then exit(a) else exit(b); 8 end; 9 function dfs(now,ml,l,d,pre,st,lim:longint):int64;10 va...
分类:其他好文   时间:2015-06-07 18:53:00    阅读次数:262
HDU ACM 1066 Last non-zero Digit in N!
#include using namespace std; int mod[20]={1,1,2,6,4,2,2,4,2,8,4,4,8,4,6,8,8,6,8,2}; char s[1010]; //字符串 int num[1010]; //转换为数字 int sovle() { int len,i,c,ans; len=strlen(s); ans=1; for(i=0...
分类:其他好文   时间:2015-06-07 13:55:30    阅读次数:128
正则表达式
正则表达式的特殊符号:[:alnum:] 代表英文大写字母和数字[:alpah:] 代表英文大小写字母[:blank:] 代表空格和TAB[:cntrl:] 键盘上的控制按键:EG: CR,LF,TAB,DEL[:digit:] 代表数字[:graph:] 代表空白符意外的其他[:lower:] 小...
分类:其他好文   时间:2015-06-07 01:01:06    阅读次数:105
ERROR 1372 (HY000): Password hash should be a 41-d
MySql创建用户(包括密码)时,会提示ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number; 问题原因:你输入的密码是明文。不允许这么输入。 解决办法:用select password(‘你想输入的...
分类:其他好文   时间:2015-06-06 22:14:02    阅读次数:177
1477条   上一页 1 ... 96 97 98 99 100 ... 148 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!