码迷,mamicode.com
首页 >  
搜索关键字:acm学习    ( 151个结果
ACM学习历程—BZOJ2956 模积和(数论)
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
ACM学习历程—HDU 5073 Galaxy(数学)
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
ACM学习历程—HDU 5072 Coprime(容斥原理)
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
ACM学习历程—SNNUOJ1132 余数之和(数论)
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
ACM学习历程—ZOJ 3868 GCD Expectation(莫比乌斯 || 容斥原理)
DescriptionEdwardhasasetofnintegers{a1,a2,...,an}.Herandomlypicksanonemptysubset{x1,x2,…,xm}(eachnonemptysubsethasequalprobabilitytobepicked),andwould...
分类:其他好文   时间:2015-10-10 22:54:58    阅读次数:498
ACM学习历程—HDU5476 Explore Track of Point(平面几何)(2015上海网赛09题)
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
ACM学习历程—HDU5475 An easy problem(线段树)(2015上海网赛08题)
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
ACM学习历程—POJ3565 Ants(最佳匹配KM算法)
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
ACM学习历程—BNUOJ3685 Building for UN(构造)
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
ACM学习历程—HDU5490 Simple Matrix (数学 && 逆元 && 快速幂) (2015合肥网赛07)
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
151条   上一页 1 ... 4 5 6 7 8 ... 16 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!