I am just curious to know that how a solution becomes faster than others. Even if we apply the same algorithm and even use I/O optimization. I solved DELISH but never saw my rank. After some days I got to know that my solution is second best. I checked out many solution even with fast I/O, all used the same logic ,the approach was entirely same. Then why my solution ran faster. I just used ternary operators , is it the reason?? Just Curious!! here's the link http://www.codechef.com/viewsolution/2240129
↧