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 1048. Superlong Sums

Please help!
Posted by ilya_romanenko 24 May 2011 23:30


Edited by author 25.05.2011 21:36
Re: Please help!
Posted by Sergey Lazarev (MSU Tashkent) 25 May 2011 09:56
You are trying to keep a number, which has up to million digits, in long long. This type can't represent numbers, which have more than 20 digits.
Re: Please help!
Posted by ilya_romanenko 25 May 2011 13:27


Edited by author 25.05.2011 21:37
Re: Please help!
Posted by Sergey Lazarev (MSU Tashkent) 25 May 2011 15:30
Don't use "cin" and "cout" for input/output such a large amount of data.
And delete your code from forum after getting AC.
Re: Please help!
Posted by ilya_romanenko 25 May 2011 21:36
Thank you very much!!!!