题目链接:http://codeforces.com/contest/976/problem/E题目:Recently Max has got himself into popular CCG "BrainStone". As "BrainStone" is a pretty intellectual game, Max has to solve numerous hard problems...
题目链接:http://codeforces.com/contest/976/problem/C题目:You are given a sequence a1, a2, ..., an of one-dimensional segments numbered 1 through n. Your task is to find two distinct indices i and j such ...
题目链接:http://codeforces.com/contest/976/problem/B题目:You might have heard about the next game in Lara Croft series coming out this year. You also might have watched its trailer. Though you definitely...
题目链接:http://codeforces.com/contest/976/problem/A题目:String can be called correct if it consists of characters "0" and "1" and there are no redundant leading zeroes. Here are some examples: "0", "10"...
题目链接:http://exam.upc.edu.cn/problem.php?id=5155题目:题目描述You are in charge of the security for a large building. The building has a map, consisting of rooms, and doors between the rooms. Each door has...