上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
2023年5月15日
摘要: Problem Description Our protagonist is the handsome human prince Aragorn comes from The Lord of the Rings. One day Aragorn finds a lot of enemies who 阅读全文
posted @ 2023-05-15 19:55 ruoye123456 阅读(24) 评论(0) 推荐(0)
摘要: Problem Description There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this “How 阅读全文
posted @ 2023-05-15 19:46 ruoye123456 阅读(23) 评论(0) 推荐(0)
摘要: Problem Description Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of th 阅读全文
posted @ 2023-05-15 19:36 ruoye123456 阅读(47) 评论(0) 推荐(0)
摘要: Problem Description 1967年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2个素不相识的人中间最多只隔着6个人,即只用6个人就可以将他们联系在一起,因此他的理论也被称为“六度分离”理论 阅读全文
posted @ 2023-05-15 19:30 ruoye123456 阅读(57) 评论(0) 推荐(0)
摘要: Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。 阅读全文
posted @ 2023-05-15 03:32 ruoye123456 阅读(41) 评论(0) 推荐(0)
摘要: 题目描述 给出若干个正整数\(n\),请你求出最小的\(m\),使得\(\varphi(m)\ge n\)。 输入 本题有多组输入。 第一行一个正整数T表示数据组数 接下来T行每行一个正整数n 数据保证\(1\le T \le 10^4, 1\le n \le 10^6\)。 输出 共T行,每行一个 阅读全文
posted @ 2023-05-15 01:01 ruoye123456 阅读(79) 评论(0) 推荐(0)
2023年5月14日
摘要: Problem Description Apex实验室里培养了很多种类的细菌。细菌的繁殖遵循如下规则:第k种细菌在第t个单位时间内新增的数量为k^t。 例如,k=2,t=4时,第种细菌的总数为2+4+8+16。 现在,实验室里一共有n种细菌,分别为1,2,3,…,n。在第1单位时间结束后,第k种细菌 阅读全文
posted @ 2023-05-14 22:46 ruoye123456 阅读(80) 评论(0) 推荐(0)
摘要: Problem Description 新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。 Input 第 阅读全文
posted @ 2023-05-14 22:44 ruoye123456 阅读(47) 评论(0) 推荐(0)
2023年5月12日
摘要: XOR 数学-线性基 题目描述 XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we 阅读全文
posted @ 2023-05-12 11:33 ruoye123456 阅读(33) 评论(0) 推荐(0)
2023年5月3日
摘要: Problem Description There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minim 阅读全文
posted @ 2023-05-03 03:19 ruoye123456 阅读(30) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页