2012年12月30日

usaco 1.4 Arithmetic Progressions

摘要: Arithmetic ProgressionsAn arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b is a positive integer.Write a program that finds all arithmetic progressions of length n in the set S of bisquares. The set of 阅读全文

posted @ 2012-12-30 18:15 yumao 阅读(537) 评论(0) 推荐(0) 编辑

导航