摘要: Emily the entrepreneur has a cool business idea: packaging and selling snowflakes. She has devised a machine that captures snowflakes as they fall, an 阅读全文
posted @ 2017-08-02 15:43 山杉三 阅读(146) 评论(0) 推荐(0) 编辑
摘要: You are one of the competitors of the Olympiad in numbers. The problem of this year relates to beatiful numbers. One integer is called beautiful if an 阅读全文
posted @ 2017-08-02 10:05 山杉三 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。 Input第一行是测试数据的组数CN(Case num 阅读全文
posted @ 2017-08-02 09:12 山杉三 阅读(123) 评论(0) 推荐(0) 编辑