i am new to codechef help me

newbie
noob

#1

i have solved this problem
www.codechef.com/FEB14/problems/LCPESY

and submitted, but its showing wrong, time exceed, runtime error
why?

i have tested it , my solution is 100% correct, please help me


#2

Then it just is not correct. Maybe you’re just misunderstanding something about the problem, or are not following the I/O exactly?

Anyway, you won’t get much help about an ongoing contest. You’ll have to manage by yourself.


#3

but inputs and outputs are perfect