What is the default timelimit for Golang? Is it the same as C, C++ or some relaxation is provided as in Python or Java ?
The reason being I tried to code the solution for problem CNOTE in March Challenge in Golang using O(n) complexity and I got TLE for some cases. The same logic was used for my C solution that easily passes the time limit.
My solution is http://www.codechef.com/viewsolution/6453605