摘要: 由个人博客迁至团队博客之前预估时间:一个星期,每天三四个小时其中,分词1天,遍历1天,正常计数1天,扩展计数2天,其他2天之后实际时间:三天,大约共9个小时其中,计数器Counter:2小时,分析器FileAnalyzer:2小时,遍历器Traverser:2小时,扩展计数器ExtendCounter,3小时,程序主函数,20分钟左右。时间差了这么多,我觉得主要是因为自己错误的估计了工作量。还有就是写代码的过程中出错不断,debug花了大量的时间。性能优化时间基本在写代码的时候尽量优化,写成之后,不知道到底如何优化。。如果还能优化的话,就是自己的算法有问题,因为有目前的结果来看,花费时间最多的 阅读全文
posted @ 2012-09-25 23:54 CodingCook 阅读(315) 评论(0) 推荐(0) 编辑
摘要: Implement a console application to tally the frequency of words under a directory (2 modes).For all text files under a directory (recursively) (file extensions: "txt", "cpp", "h", “cs”), calculate the frequency of each word, and output the result into a text file. Write 阅读全文
posted @ 2012-09-25 13:29 CodingCook 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 请点击访问其他各团队博客主页: Fighting(人家是传送门~) ShineTeam(楼上瞎说,我才是传送门!) Teamshit(楼上是大号与马甲在骗访问吧!) 76er(楼上正解!) WWW-BUAA(楼上正解+1) DOOM_buaascse(+1) SuperBrothers(在一起!) 百年coding(您好!我是博客园客服,请不要在此卖萌,谢谢!) 阅读全文
posted @ 2012-09-25 12:59 CodingCook 阅读(251) 评论(0) 推荐(0) 编辑