题目链接: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...
题目链接:http://exam.upc.edu.cn/problem.php?id=5093题目:题目描述Ms. Thomas is managing her class of n students.She placed all her students in a line, and gave the i-th student from the left a card with the l...