|
|
back to boardTo those who get WA on testcase2 remeber that "Each value of the function is longint (signed long in C++)",so if value[i]=-maxlongint and value[j]=maxlongint then abs(value[i]-value[j])>maxlongint so DO use long long or int64.(i got WA just because of it for 10 times) Re: To those who get WA on testcase2 Posted by =HPF= 7 Dec 2007 16:07 Thanks very much . Re: To those who get WA on testcase2 Posted by rleepas 13 Dec 2007 12:49 Thanks very much. Re: To those who get WA on testcase2 Thank you very much! Re: To those who get WA on testcase2 Thanks very much Re: To those who get WA on testcase2 Posted by ScutFoX 29 Mar 2009 13:26 Thank you very much! Re: To those who get WA on testcase2 Posted by cyc 19 Jul 2009 19:23 so do i i got wa for nearly ten times Edited by author 19.07.2009 19:24 |
|
|