how can i reduce time limit of a program?
- Use of optimised algorithm
- Using fast Input output functions…
- Writing efficient codes
Like @anh1l1ator mentioned, by using these three methods you can reduce time limit!
If you are looking for fast input-output methods, you can find them here:
http://discuss.codechef.com/questions/7394/help-on-fast-inputoutput
Happy Coding!