Description 求∑∑((n mod i)*(m mod j))其中1#include #include #include #include #include #include #include #include #include #define LL long long#define MO...
分类:
其他好文 时间:
2015-10-25 17:42:09
阅读次数:
162
DescriptionGood news for us: to release the financial pressure, the government started selling galaxies and we can buy them from now on! The first one...
分类:
其他好文 时间:
2015-10-24 21:59:03
阅读次数:
244
DescriptionThere are n people standing in a line. Each of them has a unique id number.Now the Ragnarok is coming. We should choose 3 people to defend ...
分类:
其他好文 时间:
2015-10-24 20:27:24
阅读次数:
267
DescriptionF(n) = (n % 1) + (n % 2) + (n % 3) + ...... (n % n)。其中%表示Mod,也就是余数。例如F(6) = 6 % 1 + 6 % 2 + 6 % 3 + 6 % 4 + 6 % 5 + 6 % 6 = 0 + 0 + 0 + 2 +...
分类:
其他好文 时间:
2015-10-23 22:57:23
阅读次数:
368
DescriptionEdwardhasasetofnintegers{a1,a2,...,an}.Herandomlypicksanonemptysubset{x1,x2,…,xm}(eachnonemptysubsethasequalprobabilitytobepicked),andwould...
分类:
其他好文 时间:
2015-10-10 22:54:58
阅读次数:
498
Problem DescriptionIn Geometry, the problem of track is very interesting. Because in some cases, the track of point may be beautiful curve. For exampl...
分类:
其他好文 时间:
2015-10-06 20:49:42
阅读次数:
221
Problem DescriptionOne day, a useless calculator was being built by Kuros. Let's assume that number X is showed on the screen of calculator. At first,...
分类:
其他好文 时间:
2015-10-06 18:01:27
阅读次数:
139
Young naturalist Bill studies ants in school. His ants feed on plant-louses that live on apple trees. Each ant colony needs its own apple tree to feed...
分类:
编程语言 时间:
2015-10-06 16:51:37
阅读次数:
333
The United Nations has decided to build a new headquarters in Saint Petersburg, Russia. It will have a form of a rectangular parallelepiped and will c...
分类:
其他好文 时间:
2015-10-05 21:58:56
阅读次数:
281
Problem DescriptionAs we know, sequence in the form ofan=a1+(n?1)dis called arithmetic progression and sequence in the form ofbn=b1qn?1(q>1,b1≠0)is ca...
分类:
其他好文 时间:
2015-09-28 00:02:16
阅读次数:
246