摘要:
Vladik had started reading a complicated book about algorithms containing n pages. To improve understanding of what is written, his friends advised hi 阅读全文
摘要:
At regular competition Vladik and Valera won a and b candies respectively. Vladik offered 1 his candy to Valera. After that Valera gave Vladik 2 his c 阅读全文
摘要:
D. Round Subset time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Round Subset time lim 阅读全文
摘要:
B. Flag of Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Flag of Berland tim 阅读全文
摘要:
A. Text Volume A. Text Volume You are given a text of single-space separated words, consisting of small and capital Latin letters. Volume of the word 阅读全文
摘要:
Polycarp has just invented a new binary protocol for data transmission. He is encoding positive integer decimal number to binary string using followin 阅读全文
摘要:
Sometimes some words like "localization" or "internationalization" are so long that writing them many times in one text is quite tiresome. Let's consi 阅读全文
摘要:
One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the 阅读全文
摘要:
Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decisio 阅读全文
摘要:
One day three best friends Petya, Vasya and Tonya decided to form a team and take part in programming contests. Participants are usually offered sever 阅读全文