上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 37 下一页

2014年6月26日

GNU的__builtin_popcount函数

摘要: 用来计算32位的unsigned int中的1的个数, 其内部实现是根据查表法来计算的。 阅读全文

posted @ 2014-06-26 18:31 Stomach_ache 阅读(264) 评论(0) 推荐(0)

2014年6月24日

Codeforces 436C

摘要: 题目链接C. Dungeons and Candiestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the loading of... 阅读全文

posted @ 2014-06-24 18:39 Stomach_ache 阅读(207) 评论(0) 推荐(0)

Codeforces 442B

摘要: 题目链接B. Andrey and Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrey needs one more p... 阅读全文

posted @ 2014-06-24 13:31 Stomach_ache 阅读(331) 评论(0) 推荐(0)

Codeforces 442C

摘要: 题目链接C. Artem and Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArtem has an array of n po... 阅读全文

posted @ 2014-06-24 13:29 Stomach_ache 阅读(324) 评论(0) 推荐(0)

2014年6月21日

Codeforces 442A

摘要: 题目链接A. Borya and Hanabitime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHave you ever played Hana... 阅读全文

posted @ 2014-06-21 11:19 Stomach_ache 阅读(339) 评论(0) 推荐(0)

2014年6月18日

hackerrank--- challenges/fp-update-list

摘要: 纯属为了练习haskell, 竟然贴代码都没办法高亮。challenges/fp-update-listUpdate the values of a list with their absolute values. The input and output portions will be hand... 阅读全文

posted @ 2014-06-18 16:53 Stomach_ache 阅读(315) 评论(0) 推荐(0)

2014年6月14日

LeetCode --- Convert Sorted Array to Binary Search Tree

摘要: 题目链接Problem discription:Given an array where elements are sorted in ascending order, convert it to a height balanced BST.Accepted Code: 1 /** 2 * Def... 阅读全文

posted @ 2014-06-14 17:54 Stomach_ache 阅读(136) 评论(0) 推荐(0)

github遇到 non-fast-forward错误

摘要: 可以参考:这里解决过程如图所示 阅读全文

posted @ 2014-06-14 14:42 Stomach_ache 阅读(160) 评论(0) 推荐(0)

2014年6月12日

sqlserver 带返回值的存储过程

摘要: 1 create proc test 2 @result nvarchar(25) output 3 as 4 begin 5 select @result = 'haha' 6 return 1; 7 end 8 go 9 10 declare @result varc... 阅读全文

posted @ 2014-06-12 21:48 Stomach_ache 阅读(588) 评论(0) 推荐(0)

LeetCode --- Valid Parentheses

摘要: 题目链接Problem discriptionGiven a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets mus... 阅读全文

posted @ 2014-06-12 11:35 Stomach_ache 阅读(91) 评论(0) 推荐(0)

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 37 下一页

导航