Why only for 10^9 as input in python it takes high memory & gives sigtstp error. I checked for (10^9-)1 it was working fine.
Why only for 10^9 as input in python it takes high memory & gives sigtstp error. I checked for (10^9-)1 it was working fine.