码迷,mamicode.com
首页 >  
搜索关键字:zero clipboard    ( 2343个结果
阶乘最后非零位
Last non-zero Digit in N!http://acm.hdu.edu.cn/showproblem.php?pid=1066 1 #include 2 #include 3 const int M=1024; 4 const int tomod[20]= {1,1,2,6,4,2,...
分类:其他好文   时间:2014-08-04 14:12:27    阅读次数:308
ACdream-1171 Matrix sum, 最大费用最大流
Matrix sum Time Limit: 8000/4000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others) SubmitStatisticNext Problem Problem Description sweet和zero在玩矩阵游戏,sweet画了一个N * M的矩阵,矩阵的每个格子有一个整数...
分类:其他好文   时间:2014-08-03 23:29:16    阅读次数:318
Acdream 1171 Matrix sum 上下界费用流
题目链接:点击打开链接 Matrix sum Time Limit: 8000/4000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others) SubmitStatisticNext Problem Problem Description sweet和zero在玩矩阵游戏,sweet画了一个N * ...
分类:其他好文   时间:2014-08-03 01:47:45    阅读次数:432
POJ - 2886 Who Gets the Most Candies? (反素数+线段树)
Description N children are sitting in a circle to play a game. The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. Th...
分类:其他好文   时间:2014-08-02 15:37:33    阅读次数:259
PAT---1005. Spell It Right (20)
#include#include#includechar *g_WordTable[10]= {"zero", "one", "two", "three", "four", "five","six", "seven", "eight", "nine"};int main(){ //存放用户输入...
分类:其他好文   时间:2014-08-02 12:31:53    阅读次数:530
Oracle内置函数
1.ASCII 返回与指定的字符对应的十进制数;SQL>select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual;2.chr 给出整数,返回对应的字符;SQL>select chr(55203) zhu,c...
分类:数据库   时间:2014-07-31 20:11:57    阅读次数:306
AC自动化
#include #include #include #define ZERO 0#define clen 26 /* 26个字母 */const char fc = 'a';typedef struct node{ struct node *child[clen]; /* 存储下一个字符 */ i...
分类:其他好文   时间:2014-07-29 16:57:02    阅读次数:256
select()函数以及FD_ZERO、FD_SET、FD_CLR、FD_ISSET(转)
select函数用于在非阻塞中,当一个套接字或一组套接字有信号时通知你,系统提供select函数来实现多路复用输入/输出模型,原型: int select(int maxfd,fd_set *rdset,fd_set *wrset,fd_set *exset,struct timeval *time...
分类:其他好文   时间:2014-07-28 15:00:53    阅读次数:241
正则表达式的先行断言(lookahead)和后行断言(lookbehind)
正则表达式的先行断言和后行断言一共有4种形式:? (?=pattern) 零宽正向先行断言(zero-width positive lookahead assertion)? (?!pattern) 零宽负向先行断言(zero-width negative lookahead assertion)? (?<=...
分类:其他好文   时间:2014-07-28 00:49:49    阅读次数:285
scheme实现匿名递归阶乘(Y组合子)
(((lambda?()???? ????((lambda?(f) ???????(f?f)) ?????(lambda?(x) ???????((lambda?(y) ??????????(lambda?(n) ????????????(if?(zero??n) ????...
分类:其他好文   时间:2014-07-28 00:49:10    阅读次数:403
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!