数论
Jstyle_AC
我欲成仙,必要坚持
展开
-
USACO 2.1-Sorting a Three-Valued Sequence
题目链接:http://train.usaco.org/usacoprob2?a=bzdILz0bsTb&S=sort3/*ID: m1590291TASK: sort3LANG: C++*/#include #include #include using namespace std;/*********************************************原创 2016-04-25 16:43:28 · 188 阅读 · 0 评论 -
cf #360 div2 D-Remainders Game(中国剩余定理)
D. Remainders Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Pari and Arya are playing a game ca原创 2016-07-01 00:59:31 · 664 阅读 · 0 评论 -
51nod - 1136 欧拉函数(欧拉函数)
1136 欧拉函数基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注对正整数n,欧拉函数是少于或等于n的数中与n互质的数的数目。此函数以其首名研究者欧拉命名,它又称为Euler's totient function、φ函数、欧拉商数等。例如:φ(8) = 4(Phi(8) = 4),因为1,3,5,7原创 2016-07-28 10:03:31 · 246 阅读 · 0 评论 -
NWU CCCC选拔赛 1014阶乘问题(思维题)
阶乘问题Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 21 Accepted Submission(s) : 4Font: Times New Roman | Verdana | GeorgiaFont S原创 2016-07-07 21:58:38 · 1498 阅读 · 0 评论 -
codeforces - 276D【贪心+数学】
D. Little Girl and Maximum XORtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA little girl loves problems on bitwis原创 2017-01-16 20:31:48 · 288 阅读 · 0 评论