On Saturday, April 27, 2013 7:11:19 AM UTC-3, SONI wrote: > My code for Small input was right but for large input cases,it stops > working.Coding Language is java. > Another Problem is,for first 2000 inputs of a large input file (in separate > file),it works fine but if all 6000 inputs are given in a file,it calculate > only up to 1694th input and stops at 1695 and does not respond anything. > > plz help me......................Thanx In Advance....:-)
u need to write a better algorithm. Brute force is not very good for large inputs. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/google-code/-/2qegCrFTTeMJ. For more options, visit https://groups.google.com/groups/opt_out.
