摘要:
一、题目描述有红黄蓝3种颜色的n个珠子,师傅希望悟空把它们排成红色珠子在左,黄色珠子居中,蓝色珠子在右的一行,然后告诉师傅,从左数起,第m个珠子是什么颜色。众所周知,悟空是只猴子,他没有这个耐心,你帮帮他吧。二、输入输入第一行为一个整数t(0三、输出为每个测试用例单独一行输出指定的... 阅读全文
posted @ 2016-06-13 23:21
chenximcm
阅读(171)
评论(0)
推荐(0)
摘要:
一、题目描述A common divisor for two positive numbers is a number which both numbers are divisible by. It’s easy to calculate the greatest common d... 阅读全文
posted @ 2016-06-13 23:13
chenximcm
阅读(183)
评论(0)
推荐(0)
摘要:
一、题目描述The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as bac... 阅读全文
posted @ 2016-06-13 22:52
chenximcm
阅读(219)
评论(0)
推荐(0)

浙公网安备 33010602011771号