摘要: 链接: https://www.51nod.com/Challenge/Problem.html problemId=1239 题意: 对正整数n,欧拉函数是小于或等于n的数中与n互质的数的数目。此函数以其首名研究者欧拉命名,它又称为Euler's totient function、φ函数、欧拉商数 阅读全文
posted @ 2020-02-09 14:17 YDDDD 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 1129 author=SWUN2018 题意: 用大写字母表示一个广播电台,用数字代表广播电台的无线频谱,相邻两个电台之间如果运用同样的无线频谱就会互相干扰,所以我们不会让两个相邻电台之间使用同样的无线频谱. 现在问你最少使用几 阅读全文
posted @ 2020-01-31 16:48 YDDDD 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 链接: https://codeforces.com/problemset/problem/915/E 题意: This year Alex has finished school, and now he is a first year student of Berland State Univer 阅读全文
posted @ 2020-01-28 14:20 YDDDD 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 链接: http://codeforces.com/problemset/problem/600/E 题意: You are given a rooted tree with root in vertex 1. Each vertex is coloured in some colour. Let' 阅读全文
posted @ 2020-01-21 20:31 YDDDD 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 3678 题意: Katu Puzzle is presented as a directed graph G(V, E) with each edge e(a, b) labeled by a boolean operator 阅读全文
posted @ 2020-01-05 19:42 YDDDD 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 3683 题意: John is the only priest in his town. September 1st is the John's busiest day in a year because there is an 阅读全文
posted @ 2020-01-05 17:06 YDDDD 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 3207 题意: liympanda, one of Ikki’s friend, likes playing games with Ikki. Today after minesweeping with Ikki and win 阅读全文
posted @ 2020-01-04 18:05 YDDDD 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/UVALive 3211 题意: As you must have experienced, instead of landing immediately, an aircraft sometimes waits in a holding 阅读全文
posted @ 2020-01-02 20:32 YDDDD 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/HDU 3062 题意: 有n对夫妻被邀请参加一个聚会,因为场地的问题,每对夫妻中只有1人可以列席。在2n 个人中,某些人之间有着很大的矛盾(当然夫妻之间是没有矛盾的),有矛盾的2个人是不会同时出现在聚会上的。有没有可能会有n 个人同时列 阅读全文
posted @ 2020-01-02 14:27 YDDDD 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 链接: https://codeforces.com/contest/1270/problem/E 题意: You are given a set of n≥2 pairwise different points with integer coordinates. Your task is to p 阅读全文
posted @ 2019-12-31 01:16 YDDDD 阅读(274) 评论(0) 推荐(0) 编辑