摘要: Problem description Imagine that you have a twin brother or sister. Having another person that looks exactly like you seems very unusual. It's hard to 阅读全文
posted @ 2018-06-02 13:21 霜雪千年 阅读(361) 评论(0) 推荐(0)
摘要: Problem description Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the 阅读全文
posted @ 2018-06-02 13:03 霜雪千年 阅读(463) 评论(0) 推荐(0)
摘要: Problem description HQ9+ is a joke programming language which has only four one-character instructions: "H" prints "Hello, World!", "Q" prints the sou 阅读全文
posted @ 2018-06-02 12:52 霜雪千年 阅读(401) 评论(0) 推荐(0)
摘要: Problem description There are n students in a school class, the rating of the i-th student on Codehorses is ai. You have to form a team consisting of  阅读全文
posted @ 2018-06-02 11:53 霜雪千年 阅读(420) 评论(0) 推荐(0)
摘要: Problem description You are given nn strings. Each string consists of lowercase English letters. Rearrange (reorder) the given strings in such a way t 阅读全文
posted @ 2018-06-02 11:29 霜雪千年 阅读(680) 评论(0) 推荐(0)
摘要: Problem description Alice and Bob like games. And now they are ready to start a new game. They have placed n chocolate bars in a line. Alice starts to 阅读全文
posted @ 2018-06-02 11:00 霜雪千年 阅读(709) 评论(0) 推荐(0)