can somebody tell me why i am getting runtime error for the below C program:
#include<stdio.h>
int main(void){
long long int N,T,x=0;
scanf("%d",&T);
while(T--){
scanf("%d",&N);
if(N%2 == 0){
x = (N*((N/2)+N)) + N/2;
}
else{
x = N*(((N/2)+1)+N);
}
printf("ll%d\n",x);
}
return 0;
}