
数论
文章平均质量分 78
jiayuzun
这个作者很懒,什么都没留下…
展开
-
HDU 5297 Y sequence
Y sequence Problem Description Yellowstar likes integers so much that he listed all positive integers in ascending order,but he hates those numbers which can be written as a^b (a, b are positi转载 2017-03-18 17:06:32 · 406 阅读 · 0 评论 -
HDU 4794 Arnold (斐波那契数模 n 的应用)
题意:对一个N*N的矩阵进行若干次转换,每一次转换是矩阵的每一个像素(x,y) 会转移到((x+y)%N,(x+2*y)%N), 经过若干次转换会变回原来的矩阵,问最少要转换多少次才会变回原来的矩阵。原创 2017-01-13 22:01:25 · 836 阅读 · 0 评论 -
HDU 5794 A Simple Chess Lucas大数组合数取模
A Simple Chess Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description There is a n×m board, a chess want to go to the position (n,m) f原创 2017-05-01 18:51:47 · 465 阅读 · 0 评论