My issue
can anyone explain me what exactly this question want to say, please
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while (t--){
int n;
cin>>n;
int sum=0;
while (n>0){
sum=sum+n*n;
n=n-2;
}
cout<<sum<<endl;
}
return 0;
}
Problem Link: Chef and Bored Games Practice Coding Problem - CodeChef