chef and digits april long callenge

my code is working on codeblocks but still unacceptable…

can you tell me the error

@jonty007 Please have a look at the Codechef Code of conduct

Rules and Regulations:

1.Please do not discuss strategy, suggestions or tips in the comments during a live contest. Posting questions clarifying the problem statement is ok. If you are unsure, email us at

2.Discussing CodeChef’s problems or any aspect of problem, on any other platform on web, on identification, could lead to disabling of respective account and banning from the community.


It was my first contest and i was not aware of your’s code of conduct but anyways thanx.