看看看,水一水,5minAC
#include<stdio.h>
int main()
{
    int n;
5.    scanf("%d",&n);
    while(n--)
    {
        int a,b;
        int t;
10.        scanf("%d",&t);
        a=t*t;
        b=a+t/2+1;
        printf("%d\n",b);
    }
15.    return 0;
}
© 2015 HUST ACMICPC TEAM. All Right Reserved.