大帅傅

大帅傅  •  1个月前


include

using namespace std;

int main() {

long long  N, c = 0 ;
cin >> N ;

for (int b = 1; b <= N; b = b + 1) {
	if (b % 2 == 0) {
		c = c + b * b;
	}
}
cout << c;
return 0;

}


评论:

请先登录,才能进行评论