烧饼的技术乱讲
其实一直都挺想做Topcoder的算法比赛的,不为别的,锻炼一下自己的思维以及写一些小代码的速度和准度。其实很糟糕的是我在Topcoder的比赛中一直会在第一题花去很长的时间,实际上可能整个思路在5、6分钟就能出来了,只是这个代码上的错误,那个代码上的错误,然后为了某个小粗心又要单步调试很长的时间……后来在学校因为时间的关系一直没什么机会做,这次发现正好时间在北京时间晚上7点,于是就注册了。
这次有三题,本文先将题目列出,因为题目可能就要花去很大的篇幅。比赛中我只做出了第一题-__-||接下来要把后面两题给思考一下再放出答案(也顺便感受一下Live Writter的代码高亮工具:D)
Point 250: FourBlocksEasy
Point 500: NumericPerfection
Point 1000: RotatingTriangles
I'm now a graduate student of Computer Applied Technology in Tongji University. I like Computer Graphics, Web 2.0, Magic, Music and am partially a geek. This blog is about C++, algorithm, cg, comments and other things I may get in touch with in the near future. Hope everyone enjoy this little site. Contact me: 4everlove.xu AT gmail.com