#include<iostream>using namespace std;int main(){ long long int a; while(cin>>a){ cout<<( ( (a*a)-1)*(a*a) )/12<<endl; }}
在電腦上答案對
傳上來WA