随笔分类 - 刷题----codeforces
摘要:There are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he passes from
阅读全文
摘要:Friends are going to play console. They have two joysticks and only one charger for them. Initially first joystick is charged at a1 percent and second
阅读全文
摘要:A big marathon is held on Al-Maza Road, Damascus. Runners came from all over the world to run all the way along the road in this big marathon day. The
阅读全文
摘要:Some natural number was written on the board. Its sum of digits was not less than k. But you were distracted a bit, and someone changed this number to
阅读全文
摘要:Two boys decided to compete in text typing on the site "Key races". During the competition, they have to type a text consisting of s characters. The f
阅读全文
摘要:A. The Useless Toy time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Walking through the street
阅读全文
摘要:It's hard times now. Today Petya needs to score 100 points on Informatics exam. The tasks seem easy to Petya, but he thinks he lacks time to finish th
阅读全文
摘要:It's one more school day now. Sasha doesn't like classes and is always bored at them. So, each day he invents some game and plays in it alone or with
阅读全文
摘要:There are two popular keyboard layouts in Berland, they differ only in letters positions. All the other keys are the same. In Berland they use alphabe
阅读全文
摘要:Array of integers is unimodal, if: it is strictly increasing in the beginning; after that it is constant; after that it is strictly decreasing. The fi
阅读全文
摘要:Ivan had string s consisting of small English letters. However, his friend Julia decided to make fun of him and hid the string s. Ivan preferred makin
阅读全文
摘要:Polycarp has a checkered sheet of paper of size n × m. Polycarp painted some of cells with black, the others remained white. Inspired by Malevich's "B
阅读全文
摘要:In a small restaurant there are a tables for one person and b tables for two persons. It it known that n groups of people come today, each consisting
阅读全文
摘要:Erelong Leha was bored by calculating of the greatest common divisor of two factorials. Therefore he decided to solve some crosswords. It's well known
阅读全文
摘要:Holidays have finished. Thanks to the help of the hacker Leha, Noora managed to enter the university of her dreams which is located in a town Pavlopol
阅读全文
摘要:On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for his friends and relatives. The market has some strange rules
阅读全文
该文被密码保护。
浙公网安备 33010602011771号