摘要: There are N integers (1A[j].InputThe first line of the input contains the number N. The second line contains N numbers A1...AN.OutputWrite amount of s... 阅读全文
posted @ 2014-07-16 17:06 daydaycode 阅读(163) 评论(0) 推荐(0) 编辑
摘要: DescriptionLet {xi} be the infinite sequence of integers:1) x0= A;2) xi= (alpha * xi-1^2 + beta * xi-1+ gamma) mod M, for i >= 1.Your task is to find ... 阅读全文
posted @ 2014-07-16 16:51 daydaycode 阅读(201) 评论(0) 推荐(0) 编辑