please somebody help me .This is my first code submission to codechef.
The output is right for walk in march 2014 contest but the online compiler of codechef saying that wrong answer
Do not discuss contest problems during the contest
@ajay_gupta3 Since this is a live contest i cannot give you hints about the problem. The only thing i can suggest is that you read the problem statement carefully and try to deduce all corner cases for your code. Eg. when n=0 or n=1 or when n has maximum value or something like that. Then trace the behavior of your code for this and verify if it is giving correct answer.
Also make sure you are printing output of each test case on a new line and are using appropriate data types (int , float , long long). Good luck.