why it shows time limit exceeds when I used to solve problems by using javascript?
Hey @kuntalrathore,
The correct language for JavaScript is named NODEJS on CodeChef. You have to submit in it.
Also if you want an idea on who to take input / output, you can check these submissions - CodeChef: Practical coding for everyone
CodeChef: Practical coding for everyone
All such submissions can be found here - CodeChef: Practical coding for everyone
PS: We are soon going to rename NODEJS to JavaScript and remove the language named JS.