|
|
вернуться в форумTo all (or most) of you who want to now why WA :) (and maybe to admin) The author of the 1010 problem wrote that the values of the function are 'signed long' but you should use 'double' instead of 'long int' for storing the values of the function. In my case this change resulted in AC :) Edited by author 12.05.2004 09:02 You cannot use long int according to problem statement, because 2^31 - 1 - (-2^31) is more than 2^31 - 1. Re: You cannot use long int according to problem statement, because 2^31 - 1 - (-2^31) is more than 2^31 - 1. Послано ling 2 июн 2004 19:32 And,you shouldn't use Int64,because it'll make you tle.So,you can use extended. |
|
|