You are given three integers n, s, and m.
Construct a sequence of length n starting with s, where the elements
$a_0 = $ s
For each n
If m
If
Return the maximum value present in the sequence.
Constraints:
n, s
m
You are given three integers n, s, and m.
Construct a sequence of length n starting with s, where the elements
$a_0 = $ s
For each n
If m
If
Return the maximum value present in the sequence.
Constraints:
n, s
m