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

c++ .39s , 5300 KB hint
Posted by Haloom 18 Sep 2018 22:40
use  ios_base::sync_with_stdio(false); cin.tie(0); with cin/cout. Don't forget to add last two digit's sum carry if it has.
Re: c++ .39s , 5300 KB hint
Posted by ToadMonster 20 Sep 2018 14:11
5M is too much. It isn't necessary to get whole numbers in memory.