摘要: Problem description There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from 阅读全文
posted @ 2018-05-30 17:59 霜雪千年 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Problem description Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The tea 阅读全文
posted @ 2018-05-30 17:50 霜雪千年 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Problem description Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase an 阅读全文
posted @ 2018-05-30 17:46 霜雪千年 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Problem description As you may know, MemSQL has American offices in both San Francisco and Seattle. Being a manager in the company, you travel a lot b 阅读全文
posted @ 2018-05-30 17:32 霜雪千年 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Problem description Programmer Rostislav got seriously interested in the Link/Cut Tree data structure, which is based on Splay trees. Specifically, he 阅读全文
posted @ 2018-05-30 17:13 霜雪千年 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Problem description Consider the infinite sequence of integers: 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5.... The sequence is built in the following 阅读全文
posted @ 2018-05-30 13:31 霜雪千年 阅读(340) 评论(0) 推荐(0) 编辑