随笔分类 -  编程竞赛

摘要:8题只做出4题比较easy的题,而且做得挺麻烦,看来还要多练练。AC的题如下NEUOJ 1112I Love AppleDescriptionSo many people love apple and there is a problem about apple.An Apple Word is a word that consists of only the letters A, P, L, and E, in that exact relative order. There must be exactly one A, two or more Ps, exactly one L and.. 阅读全文
posted @ 2010-12-12 19:34 yangleo 阅读(425) 评论(0) 推荐(0)
摘要:8题只做出4题比较easy的题,而且做得挺麻烦,看来还要多练练。AC的题如下NEUOJ 1112I Love AppleDescriptionSo many people love apple and there is a problem about apple.An Apple Word is a word that consists of only the letters A, P, L, and E, in that exact relative order. There must be exactly one A, two or more Ps, exactly one L and.. 阅读全文
posted @ 2010-12-12 19:34 yangleo 阅读(240) 评论(0) 推荐(0)
摘要:一直没有时间做自己真的喜欢做而且有意义的事,外推完事总算有一个空挡时间。这一段想深入学习ACM编程,主攻C/C++及算法,不论有多少艰难险阻,我将义无反顾。 作为纪念,转一篇ACM的资料以自勉。清华大学ACM集训队培训资料(内部使用)一、C++基础基本知识 所有的C++程序都是有函数组成的, 函数又叫做子程序,且每个C++程序必须包含一个main函数,编译器(能够把源代码转换成目标代码的程序)把翻译后的目标代码和一些启动代码组合起来,生成可执行文件,main函数就是可执行文件的入口,所以,每个C++程序有且只有一个main函数。 下面我们看一个最简单C++程序。(程序1.1)程序1.1int. 阅读全文
posted @ 2010-10-20 22:58 yangleo 阅读(509) 评论(0) 推荐(0)