Run ID:62128
提交时间:2023-12-17 15:12:13
t=int(input()) for i in range(t): n=int(input()) s=1 l=0 for i in range(n): l+=s s+=2 print(l)