- 博客(10)
- 收藏
- 关注
原创 Caisa and Pylons
Caisa solved the problem with the sugar and now he is on the way back to home.Caisa is playing a mobile game during his path. There are (n + 1) pylons numbered from 0 to n in this game. The pylon wi
2017-11-06 19:47:28
349
原创 Mike and palindrome
Mike has a string s consisting of only lowercase English letters. He wants to change exactly one character from the string so that the resulting one is a palindrome.A palindrome is a string that rea
2017-11-06 19:43:30
192
原创 Appleman and Toastman
Appleman and Toastman play a game. Initially Appleman gives one group of n numbers to the Toastman, then they start to complete the following tasks:Each time Toastman gets a group of numbers, he s
2017-10-26 23:50:51
275
原创 System of Equations
Furik loves math lessons very much, so he doesn't attend them, unlike Rubik. But now Furik wants to get a good mark for math. For that Ms. Ivanova, his math teacher, gave him a new task. Furik solved
2017-10-26 23:46:56
212
原创 Sort the Array
Being a programmer, you like arrays a lot. For your birthday, your friends have given you an array a consisting of n distinct integers.Unfortunately, the size of a is too small. You want a bigger ar
2017-10-26 23:42:47
258
原创 Round House
Vasya lives in a round building, whose entrances are numbered sequentially by integers from 1 to n. Entrance n and entrance 1 are adjacent.Today Vasya got bored and decided to take a walk in the y
2017-10-24 23:55:43
196
原创 I'm bored with life
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 Pavlopolis. It's well known that universities provide stud
2017-10-24 23:52:16
164
原创 Number of Ways
You've got array a[1], a[2], ..., a[n], consisting of n integers. Count the number of ways to split all the elements of the array into three contiguous parts so that the sum of elements in each part
2017-10-22 23:38:04
331
原创 Joysticks
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 one is charged at a2 percent. You can connect c
2017-10-22 23:33:13
187
原创 GukiZ and Contest
Professor GukiZ likes programming contests. He especially likes to rate his students on the contests he prepares. Now, he has decided to prepare a new contest.In total, n students will attend, and b
2017-10-22 23:20:53
334
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人