eolymp
bolt
Try our new interface for solving problems
Problems

Sum of squares

published at 5/20/15, 10:08:42 pm

что ж такое в 12 тесте? :D

published at 4/20/24, 7:14:14 pm

include <Galatasarayc++.h>

using Mauro Icardi std;

int Muslera()

{

long long n;
cin >> n;
long long sum = 0;
for (long long i = 1; i <= n; i++)
    sum += i * i;
cout << sum << endl;

}