ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1010. Discrete Function

If you want to get AC, don't use longint, use extended!
Posted by Gleb Grenkin 25 Aug 2005 07:10
If you want to get AC, don't use longint, use extended!
Sum of two longint gives overflow.
Re: If you want to get AC, don't use longint, use extended!
Posted by sweetstrawberry 1 Jan 2006 08:45
use qword(longint+longint) then
Re: If you want to get AC, don't use longint, use extended!
Posted by ni4ei 28 Jan 2006 19:40
Gleb Grenkin wrote 25 August 2005 07:10
If you want to get AC, don't use longint, use extended!
Sum of two longint gives overflow.
I've used long int and got AC.
How to use extended? it doesen't work on my ancient MSVC6.0