|
|
вернуться в форумTo 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 Послано =HPF= 7 дек 2007 16:07 Thanks very much . Re: To those who get WA on testcase2 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 Thank you very much! Re: To those who get WA on testcase2 Послано cyc 19 июл 2009 19:23 so do i i got wa for nearly ten times Edited by author 19.07.2009 19:24 |
|
|