OJ-Problems-Source/HDOJ/3422_autoAC.cpp
2016-09-04 14:10:14 +08:00

11 lines
182 B
C++

#include <stdio.h>
int main()
{
long long i,j,n;
while(scanf("%I64d",&n)!=EOF)
{
printf("%I64d %I64d\n",4*n*n+6*n-1,2*n*n+2*n+1);
}
return 0;
}