bro.....there is a problem with the data type in which u are storing the value.... check it again......and dont rely on the submission of the smalll input that u will get the submission for the large input.... well the correct output is.....
Case #1: -7839202227936 Case #2: 7999201712083 Case #3: -1313429236847 Case #4: -3710387739618 Case #5: -3414920765916 Case #6: -1271937742993 Case #7: -1964394407029 Case #8: -1884282427866 Case #9: -4044533757860 Case #10: -838783451371 On Thu, Sep 10, 2009 at 9:24 PM, subhashis hazarika <[email protected]> wrote: > the input was: > > 2009/9/10 Mahendra Kariya <[email protected]> >> >> What is the input ? Perhaps, you get an input file randomly. Kindly >> specify the input test cases so that the output can be checked against. >> Moreover, its round 1A 2008 ! >> Regards, >> Mahendra Kariya >> http://www.mahendrakariya.blogspot.com >> >> >> On Thu, Sep 10, 2009 at 9:04 PM, prithu <[email protected]> wrote: >>> >>> for the minimum scalar product i got the following as output for large >>> input >>> Case #1: -886912736 >>> Case #2: 1972606931 >>> Case #3: 830755729 >>> Case #4: 464004126 >>> Case #5: -421765596 >>> Case #6: -627423377 >>> Case #7: -1594352757 >>> Case #8: 1208215078 >>> Case #9: 1325434972 >>> Case #10: -1264828651 >>> >>> >>> but its shown incorrect on submission >>> whereas the same code produced correct result for small input >>> >>> >>> >> >> >> > > > > -- > -------------------------------------------------------------- > Subhashis Hazarika > 5th semester B.Tech student > Deparrtment of Computer Science & Engineering > National Institute of Technology, Durgapur, W.B > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---
