摘要: 原题链接:http://www.acm.uestc.edu.cn/problem.php?pid=1735考试松松过 1 #include<cstdio> 2 using namespace std; 3 int main() 4 { 5 long long n,product;int ans[20]; 6 while(scanf("%lld",&n)!=EOF) 7 { 8 product=(n+1)*(3*n+2)/2; 9 int i=0;10 while(product)11 {12 ... 阅读全文
posted @ 2013-06-10 16:41 EtheGreat 阅读(143) 评论(0) 推荐(0) 编辑