New to codechef

Welcome to Codechef
Check the sample solution as all the solution in codechef are available.
For example if you are asked to implement sum of all element in an array the you will be given input format. Take the input, implement solution and print the result as asked in question.
You can check more here