摘要: http://acm.nyist.net/JudgeOnline/problem.php?pid=100暴力也可以,但是应该和谐..http://www.cnblogs.com/graphics/archive/2010/06/21/1752421.html在这里看到了别的做法View Code 1 #include <stdio.h> 2 int main() 3 { 4 int n,num,t; 5 scanf("%d",&t); 6 while(t--) 7 { 8 scanf("%d",&n); 9 num=0;10 阅读全文
posted @ 2012-09-07 18:03 YORU 阅读(159) 评论(0) 推荐(0)