
数论
文章平均质量分 76
El_Shaarawy_S
这个作者很懒,什么都没留下…
展开
-
卡农题解
题目描述众所周知卡农是一种复调音乐的写作技法,小余在听卡农音乐时灵感大发,发明了一种新的音乐谱写规则。他将声音分成n个音阶,并将音乐分成若干个片段。音乐的每个片段都是由1到n个音阶构成的和声,即从n个音阶中挑选若干个音阶同时演奏出来。为了强调与卡农的不同,他规定任意两个片段所包含的音阶集合都不同。同时为了保持音乐的规律性,他还规定在一段音乐中每个音阶被奏响的次数为偶数。现在的问题是:小余想知道包含m原创 2015-09-18 16:28:24 · 921 阅读 · 2 评论 -
codeforces 150A 题解
A. Win or Freezetime limit per test2 seconds memory limit per test256 megabytes input standard input output standard outputYou can’t possibly imagine how cold our friends are this winter in Nvodsk!原创 2015-11-10 19:26:33 · 763 阅读 · 0 评论 -
codeforces 585C题解
C. Alice, Bob, Oranges and Applestime limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAlice and Bob decided to eat some fruit. In the kitchen t原创 2015-11-10 19:16:10 · 732 阅读 · 0 评论 -
codeforces 594D题解
D. REQtime limit per test3 seconds memory limit per test256 megabytes input standard input output standard output Today on a math lesson the teacher told Vovochka that the Euler function of a posit原创 2015-11-10 19:22:36 · 1422 阅读 · 0 评论