摘要: 问题 C: 数的计数(number) 题目描述 我们要求找出具有下列性质数的个数(包含输入的自然数n),先输入一个自然数n(n≤1000),然后对此自然数按照如下方法进行处理:(1)不作任何处理;(2)在它的左边加上一个自然数,但该自然数不能超过原数的一半;(3)加上数后,继续按此规则进行处理,直到 阅读全文
posted @ 2016-07-16 09:07 ANtarc 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You’ve been put in charge of an art exhibit from the famous minimalist sculptor J (even his name is minimalist!). J’s work involves the careful l 阅读全文
posted @ 2016-06-11 17:12 ANtarc 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Mastermind is a two-person code breaking game which works as follows. The first person (the code maker) creates a sequence of n colored pegs (with 阅读全文
posted @ 2016-06-11 17:10 ANtarc 阅读(139) 评论(0) 推荐(0) 编辑
摘要: “What a boring world!”Julyed felt so bored that she began to write numbers on the coordinate paper. She wrote a “0” on the center, then wrote the foll 阅读全文
posted @ 2016-06-11 17:04 ANtarc 阅读(175) 评论(0) 推荐(0) 编辑