mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
11 lines
182 B
C++
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;
|
||
|
}
|