112A Petya and Strings
Little Petya loves presents. His mum bought him two strings of the same size for his birthday
Read more →Little Petya loves presents. His mum bought him two strings of the same size for his birthday
Read more →Anton likes to listen to fairy tales, especially when Danik, Anton's best friend, tells them. Right now Danik tells Anton a fairy tale.
Read more →A sentence is a list of words that are separated by a single space with no leading or trailing spaces
Read more →Vasily the Programmer loves romance, so this year he decided to illuminate his room with candles
Read more →There are n stones on the table in a row, each of them can be red
Read more →Polycarp loves lowercase letters and dislikes uppercase ones. Once he got a string s consisting only of lowercase and uppercase Latin letters.
Read more →Alice and Bob are playing a game on an array a of n positive integers
Read more →On an 8×8 grid, some horizontal rows have been painted red, and some vertical columns have been painted blue
Read more →A soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana.
Read more →There are literally dozens of snooker competitions held each year, and team Jinotega
Read more →Little Petya loves presents. His mum bought him two strings of the same size for his birthday
Read more →The prison of your city has n prisoners. As the prison can't accommodate all of them, the city mayor has decided to transfer c of the prisoners to a prison.
Read more →During the break the schoolchildren, boys and girls, formed a queue of n people in the canteen.
Read more →Sherlock is currently trying to catch a serial killer who kills a person each day.
Read more →After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m vertical.
Read more →Mahmoud has n line segments, the i-th of them has length ai. Ehab challenged him to use exactly 3 line segments to form a non-degenerate triangle.
Read more →Valera had two bags of potatoes, the first of these bags contains x (x ≥ 1) potatoes.
Read more →One day three best friends Petya, Vasya and Tonya decided to form a team and take part in programming contests.
Read more →Jon Snow now has to fight with White Walkers. He has n rangers, each of which has his own strength.
Read more →Young Timofey has a birthday today! He got kit of n cubes as a birthday present from his parents
Read more →Comrade Dujikov is busy choosing artists for Timofey's birthday and is recieving calls from Taymyr from Ilia-alpinist.
Read more →«Polygon» is a system which allows to create programming tasks in a simple and professional way.
Read more →Young Timofey has a birthday today! He got kit of n cubes as a birthday present from his parents.
Read more →After the lessons n groups of schoolchildren went outside and decided to visit Polycarpus to celebrate his birthday. We know that the i-th group consists
Read more →There are five people playing a game called "Generosity
Read more →There are n stones on the table in a row, each of them can be red, green or blue
Read more →A new e-mail service "Berlandesk" is going to be opened in Berland in the near future
Read more →You are given n sticks with positive integral length a1,a2
Read more →