Function - 5
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Impement the function f(x, y, z) = xyz + x + y^2
+ z^3
.
Input
Three positive integers x, y, z (x, y, z ≤ 10^6
).
Output
Print the value of the function f(x, y, z).
Examples
Input #1
Answer #1
Submissions 7K
Acceptance rate 49%