摘要: hdu1021 给n,看费波纳列数能否被3整除 算是找规律吧,以后碰到这种题就打打表找找规律吧 #include <stdio.h> int main(void) { int n; while(scanf("%d", &n) != EOF) { if(n%8==2 || n%8==6) printf 阅读全文
posted @ 2018-07-24 10:28 踩在浪花上 阅读(217) 评论(0) 推荐(0) 编辑