How to handle the CONSTRAINTS in Codechef?? I am solving RRSTONE problem, everything looks fine from my side like logic and all. but it is saying WA. DO we programmers need to take care that the numbers never cross those boundaries by if- conditions (or inserting Assert) Or these contraints are just to give us hint for the datatype to be used?? Please guide me... I am not very familiar to code chef.. :( :(
↧