上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 50 下一页
摘要: Problem description Polycarpus is the director of a large corporation. There are n secretaries working for the corporation, each of them corresponds v 阅读全文
posted @ 2018-06-03 11:54 霜雪千年 阅读(229) 评论(0) 推荐(0)
摘要: Problem description Valera loves his garden, where n fruit trees grow. This year he will enjoy a great harvest! On the i-th tree bi fruit grow, they w 阅读全文
posted @ 2018-06-03 11:17 霜雪千年 阅读(298) 评论(0) 推荐(0)
摘要: 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)
摘要: 题目描述 好了,现在是小托米的故事啦~~~ 可爱的小托米得到了n瓶饮料. 但他不小心把开盖的工具弄丢了,所以他只能利用饮料瓶来开盖. 已知第i个瓶子的品牌为ai,且其能打开bi品牌的瓶子. 问有几瓶饮料托米无法喝到. 被用于打开饮料瓶的瓶子不一定需要被打开. 一个瓶子不能打开其本身. 输入描述: 第 阅读全文
posted @ 2018-06-01 21:30 霜雪千年 阅读(325) 评论(0) 推荐(1)
摘要: Problem description Petya loves lucky numbers. Everybody knows that positive integers are lucky if their decimal representation doesn't contain digits 阅读全文
posted @ 2018-06-01 19:49 霜雪千年 阅读(1732) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 50 下一页