Optimal game strategy 2

compilation error

hello @bhattanurag426
a)
dp array is very large ,it will givve segfault.

b)
array a is very small

sizer of array should be atleast n.

https://ide.codingblocks.com/s/571584 wrong answer