Alex vs Fedor

Cerinta completa In order to entertain themselves during the long flight, Alex and Fedor invented the following very simple two players game. The game is: First, Alex draws some graph with bidirectional weighted edges. There are possibly multiple edges (probably,

Airports

Cerinta completa Airports are being built on a straight road according to a new construction plan. For convenience, imagine a number line on which at different points airports can be positioned. Because a plane can’t take off and start landing

ACM ICPC Team

Cerinta completa There are a number of people who will be attending ACM-ICPC World Finals. Each of them may be well versed in a number of topics. Given a list of topics known by each attendee, presented as binary strings,

Accessory Collection

Cerinta completa Victoria is splurging on expensive accessories at her favorite stores. Each store stocks types of accessories, where the accessory costs dollars (). Assume that an item’s type identifier is the same as its cost, and the store has

Absolute Permutation

Cerinta completa We define to be a permutation of the first natural numbers in the range . Let denote the value at position in permutation using -based indexing. is considered to be an absolute permutation if holds true for every

Abbreviation

Cerinta completa You can perform the following operations on the string, : Capitalize zero or more of ‘s lowercase letters. Delete all of the remaining lowercase letters in . Given two strings, and , determine if it’s possible to make

A Very Big Sum

Cerinta completa In this challenge, you need to calculate and print the sum of elements in an array, considering that some integers may be very large. Function Description Complete the function with the following parameter(s): : an array of integers

A Super Hero

Cerinta completa Ma5termind is crazy about Action Games. He just bought a new one and got down to play it. Ma5termind usually finishes all the levels of a game very fast. But, This time however he got stuck at the

A stones game

Cerinta completa Koga and Ryuho, new generation Athena’s saints, are training to improve their control over the cosmos. According to the ancient Masters, a saint’s power to control the cosmos strengthens, when one allows the energy of the universe to