eolymp
bolt
Try our new interface for solving problems
Problems

Function - 4

Function - 4

Implement the function $f(x) = 1 + x + x^2$. \InputFile One positive integer $x\:(x \le 10^9)$. \OutputFile Print the value of the function $f(x)$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
13