摘要:
Problem Description “Ladies and Gentlemen, It’s show time! ” “A thief is a creative artist who takes his prey in style... But... 阅读全文
摘要:
unique() 位于 头文件中,其作用是元素去重,即删除序列中所有相邻的重复元素。 其删除元素,只是一个伪去除,只是重新排列了序列中的元素,将相邻的重复元素添加到容器末尾,简单来说,使用 unique() 后,容器的长度没有变,只是元素顺序改变了。 其返回... 阅读全文
摘要:
Problem Description In a 2D plane N persons are standing and each of them has a gun in his hand. The plane is so big that the p... 阅读全文
摘要:
Problem Description John has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most ... 阅读全文
摘要:
Problem Description Peter has a string s=s1s2...sn, let suffi=sisi+1...sn...sn be the suffix start with ii-th character of ss. ... 阅读全文
摘要:
Problem Description The problem you need to solve here is pretty simple. You are give a function f(A, n), where A is an array o... 阅读全文
摘要:
Problem Description During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---... 阅读全文
摘要:
Problem Description John is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amoun... 阅读全文
摘要:
Problem Description Dear contestant, now you are an excellent navy commander, who is responsible of a tough mission currently. ... 阅读全文
摘要:
上午补了补题,看了一会树状数组。 下午比赛的题基本是前三天的重现赛,除了之前的题基本都做出来以外,别的题就写出来一道 GCD 的逆推题,晚上补题比较轻松。 这几天总的来说还是感到跟别人的差距了,图论的内容虽然之前看的差不多了,但不一定能做出来,别人虽然没有看完... 阅读全文