
Google Code Jam
文章平均质量分 73
TomMengdle
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Decision Tree - Google Code Jam 2009 Round 1B A题
是一道水题,其最重要的部分在于字符串处理建立树。 代码如下: #include"stdafx.h" #include #include #include #include #include using namespace std; #define LEFTBRACKET '(' #define RIGHTBRACKET ')' const int MAX = 1000; cl原创 2012-03-11 21:50:56 · 762 阅读 · 0 评论 -
The Next Number-Google Code Jam 2009 Round 1B B题
又是一道水题。 仔细观察数据规律就可以得到结果。 对于数据: 647654321: 其下一个数是6512344567 87650:下一个数为500678 其实生成的规则相当简单。 但是我的代码相当丑陋。 // The Next Number.cpp: 主项目文件。 #include "stdafx.h" #include #include #include using name原创 2012-03-11 21:53:32 · 862 阅读 · 0 评论