sample testcase passes but still WA. Why?
Plz check
Ugly Numbers Problem
The code you have shared is giving segmentation fault.
Refer this and cross check your approach
sample testcase passes but still WA. Why?
Plz check
The code you have shared is giving segmentation fault.
Refer this and cross check your approach