摘要: A题 题意:给定一串数列,t,t+s,t+s+1,t+2s,t+2s+1......问某一个数是否是数列当中的 题意:只需判断(x-t)与(x-t-1)能否整除s即可,注意起始时的判断 1 #include <iostream> 2 #include <cstdio> 3 #include <cst 阅读全文
posted @ 2016-07-18 11:14 wolf940509 阅读(162) 评论(0) 推荐(0)