历时两个多月的时间,终于把effective c++又复习了一遍,比较慢,看的是英文版,之前看的时候做过一些笔记,但不够详细,这次笔者是从头到尾的翻译了一遍,加了一些标题,先记录到word里面,然后发布到博客园上.这么做是为了方便查阅,复习C++,同时练习英文,希望这些帖子也能够对大家有所帮助. 有人回复说有些过时了,的确,但大部分还都是effective的,可以看scott meyers关于这个问题的的回复: is effective c++ still effective? 精读一本经典书,…
链接:https://www.nowcoder.com/acm/contest/119/F来源:牛客网 Now HUST got a big land whose capacity is C to plant trees. We have n trees which could be plant in it. Each of the trees makes HUST beautiful which determined by the value of the tree. Also each of…
The link to problem:Problem - D - Codeforces D. Range and Partition time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output Given an array a of n integers, find a range of values [x,y] (x≤y…