[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
Dev Skill Forum • View topic - Big Sum problem

Big Sum problem

Dev Skill archived problems can be discussed here.

Big Sum problem

by mojam » Sat Oct 01, 2016 4:39 pm

 
Posts: 1
Joined: Sat Oct 01, 2016 4:34 pm

Re: Big Sum problem

by devskill » Sun Oct 02, 2016 2:43 pm

The error message is self explanatory. It is saying the value that you are trying to parse and load into Int64 is not going to fit into it.

The big sum problem contains numbers that can be long upto 100 digits. Int64 is too small for that.

Instead try to solve it using the process explained in the problem description. Use array and do the math like a class 2 student will do :D
User avatar
Site Admin
 
Posts: 118
Joined: Tue Feb 02, 2016 10:24 pm

Re: Big Sum problem

by rashedul007 » Sun Jan 29, 2017 7:48 pm

I solved it pragmatically without using int64 type in c#
 
Posts: 10
Joined: Tue Jan 24, 2017 6:25 pm


Who is online
Users browsing this forum: No registered users and 1 guest
cron