- 博客(12)
- 收藏
- 关注
原创 Google CodeJam Round 1A 2013
Official Analysis: https://code.google.com/codejam/contest/2418487/dashboard#s=aC++ code for Problem A:#include #include using namespace std;const int MAXLEN = 10000;class BigInteger
2013-04-27 11:59:15 793
转载 [4_1_cryptcow] Search + Pruning (Unfinished)
CryptcowgraphyBrian DeanThe cows of Farmer Brown and Farmer John are planning a coordinated escape from their respective farms and have devised a method of encryption to protect their written comm
2013-04-26 15:37:51 823
转载 Function object
http://en.wikipedia.org/wiki/Function_object#include #include #include #include using namespace std;class functor {public: void operator()(int k) { cout << "k = "
2013-04-25 10:48:31 658
转载 Edge Detection: Sobel operator
Excerpts from the Book: Python Programming in Contexthttp://en.wikipedia.org/wiki/Sobel_operatorIn order to find an edge, it is necessary to evaluate each pixel in relation to those that a
2013-04-16 21:47:37 1288
转载 The Ph.D. Grind
http://book.douban.com/subject/11505704/http://pgbovine.net/PhD-memoir.htmhttp://cacm.acm.org/blogs/blog-cacm/154473-the-phd-grind-main-grinds-and-side-grinds/fulltexthttp://cacm.acm.org/blogs/b
2013-04-16 13:48:50 1082
原创 [4_1_fence8] Search problem: Optimizations
Fence RailsBurch, Kolstad, and SchrijversFarmer John is trying to erect a fence around part of his field.He has decided on the shape of the fence and has even already installed the posts, but he's
2013-04-14 16:58:28 907
原创 SDL check in Visual Studio 2012
http://msdn.microsoft.com/en-us/library/vstudio/jj161081.aspxhttp://blogs.msdn.com/b/sdl/archive/2011/12/02/security.aspx[maybe obsolete] http://stackoverflow.com/questions/119578/disabling-warnin
2013-04-14 16:01:46 2308
转载 Baidu Astar Contest 2013-04-13 Regional (Guangzhou)
2013年4月13日竞赛题目一du熊的机器人Descriptiondu熊正在玩一个别人刚送给它的机器人。这个机器人只能在一个棋盘中行走,棋盘的左上角格子为(0, 0),右下角格子为(X, Y)。du熊控制这个机器人从棋盘的左上角,走到右下角,再从右下角回到左上角。当机器人从左上角走到右下角的过程中,如果它当前所在格子为(x, y),则它只能走到(x+1, y)或(x
2013-04-13 21:52:26 1493
原创 Google CodeJam Qualification Round 2013
Official Analysis: https://code.google.com/codejam/contest/2270488/dashboard#s=aProblem A. Tic-Tac-Toe-TomekProblemTic-Tac-Toe-Tomek is a game played on a 4 x 4 square board. The board s
2013-04-13 19:32:06 1723 1
转载 [TopCoder Algorithm Tutorial] Binary Search
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=binarySearchBinary SearchWhat we can call the main theorem states that binary search can be used if and only if for all x in
2013-04-12 18:39:24 1655
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人