competitiveProgramming Suggestion: Don't just copy, first understand its logic and then code it yourself.