The reason I am posting this is that in the contest Code Smart, a few users have posted their codes on discuss and have asked for help.
Here are a few things for a beginner to consider: (This applies to all contests on Codechef in general)
1. There are **Rules and regulations** on the problem page itself, it is recommended that you read it before you participate.
2. There is also a point in these rules and regulation, that has a link to [Codechef Code of Conduct][1]. **Read it carefully**.
- The most important point is that posting codes during contest on codechef discuss and other forums is against the code of conduct. Also, you cannot share your code with anyone during the contest.
Happy coding