摘要: 题目描述 Description 将十进制数n转换成m进制数 m<=16 n<=100 题目描述 Description 将十进制数n转换成m进制数 m<=16 n<=100 将十进制数n转换成m进制数 m<=16 n<=100 输入描述 Input Description 共一行 n和m 输入描述 阅读全文
posted @ 2016-07-11 09:29 Kiven#5197 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Description There are n cities in Bearland, numbered 1 through n. Cities are arranged in one long row. The distance between cities i and j is equal to 阅读全文
posted @ 2016-07-11 09:22 Kiven#5197 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Description A little bear Limak plays a game. He has five cards. There is one number written on each card. Each number is a positive integer. Limak ca 阅读全文
posted @ 2016-07-11 09:13 Kiven#5197 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Description Someone gave Alyona an array containing n positive integers a1, a2, ..., an. In one operation, Alyona can choose any element of the array 阅读全文
posted @ 2016-07-11 09:08 Kiven#5197 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Description After finishing eating her bun, Alyona came up with two integers n and m. She decided to write down two columns of integers — the first co 阅读全文
posted @ 2016-07-11 08:58 Kiven#5197 阅读(365) 评论(0) 推荐(0) 编辑