摘要:
题目描述 Description 将十进制数n转换成m进制数 m<=16 n<=100 题目描述 Description 将十进制数n转换成m进制数 m<=16 n<=100 将十进制数n转换成m进制数 m<=16 n<=100 输入描述 Input Description 共一行 n和m 输入描述 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Description Someone gave Alyona an array containing n positive integers a1, a2, ..., an. In one operation, Alyona can choose any element of the array 阅读全文
摘要:
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 阅读全文