Loading

摘要: 题目描述 小凯手中有两种面值的金币,两种面值均为正整数且彼此互素。每种金币小凯都有 无数个。在不找零的情况下,仅凭这两种金币,有些物品他是无法准确支付的。现在小 凯想知道在无法准确支付的物品中,最贵的价值是多少金币?注意:输入数据保证存在 小凯无法准确支付的商品。 输入格式 两个正整数 aaa 和 阅读全文
posted @ 2020-04-11 16:38 脂环 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Many years ago Berland was a small country where only nn people lived. Each person had some savings: the ii -th one had aiai burles. The government co 阅读全文
posted @ 2020-04-11 11:48 脂环 阅读(312) 评论(0) 推荐(0) 编辑
摘要: output standard output Polycarp has recently created a new level in this cool new game Berlio Maker 85 and uploaded it online. Now players from all ov 阅读全文
posted @ 2020-04-11 11:11 脂环 阅读(228) 评论(0) 推荐(0) 编辑