【Codeforces 715A】Plus and Square Root

题目传送门:http://codeforces.com/contest/715/problem/A
官方题解:http://codeforces.com/blog/entry/47169

这™构造题,又没有想出来QAQ
考验人类智慧的东西,怎么写题解?
还是去看官方题解吧…

#include<bits/stdc++.h>
#define LL long long
using namespace std;

int main(){
	int n; cin>>n; cout<<2<<endl;
	for (LL i=2;i<=n;i++) cout<<i*(i+1)*(i+1)-i+1<<endl;
	return 0;
}

2 thoughts to “【Codeforces 715A】Plus and Square Root”

  1. I’m really loving the theme/design of your site. Do you ever run into any web browser compatibility problems? A couple of my blog visitors have complained about my website not working correctly in Explorer but looks great in Chrome. Do you have any advice to help fix this issue?

Leave a Reply

Your email address will not be published. Required fields are marked *