[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/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 - Why wrong answer? Big Sum problem.

Why wrong answer? Big Sum problem.

Dev Skill archived problems can be discussed here.

Why wrong answer? Big Sum problem.

by Dinar » Thu Sep 22, 2016 9:21 pm

 
Posts: 8
Joined: Thu Sep 22, 2016 9:14 pm

Re: Why wrong answer? Big Sum problem.

by devskill » Sat Sep 24, 2016 7:26 pm

First of all, you have posted the question in a wrong section. So we moved it to problem discussion section.

There are several posts in the problem discussion section about this problem. Please check all of them to solve your problem. for example,

here is one post that you can try: viewtopic.php?f=6&t=39
User avatar
Site Admin
 
Posts: 118
Joined: Tue Feb 02, 2016 10:24 pm

Re: Why wrong answer? Big Sum problem.

by Dinar » Sat Sep 24, 2016 9:55 pm

Thanks.
 
Posts: 8
Joined: Thu Sep 22, 2016 9:14 pm

Now wrong answer!

by Dinar » Sun Sep 25, 2016 9:27 pm

 
Posts: 8
Joined: Thu Sep 22, 2016 9:14 pm

Re: Why wrong answer? Big Sum problem.

by devskill » Sun Sep 25, 2016 10:41 pm

In our I/O file for this problem windows newline was used. and your code was not able to process windows new line for some reason. We re uploaded our I/O file with linux newline and rejudged your code.
User avatar
Site Admin
 
Posts: 118
Joined: Tue Feb 02, 2016 10:24 pm

Re: Why wrong answer? Big Sum problem.

by Dinar » Sun Sep 25, 2016 11:15 pm

thanks got accepted
 
Posts: 8
Joined: Thu Sep 22, 2016 9:14 pm

Re: Why wrong answer? Big Sum problem.

by devskill » Wed Sep 28, 2016 10:06 pm

Welcome
User avatar
Site Admin
 
Posts: 118
Joined: Tue Feb 02, 2016 10:24 pm

Re: Why wrong answer? Big Sum problem.

by minhazur » Sat Oct 01, 2016 3:07 pm

I think, you are not considering leading zeroes. For example:
input: 10,10
output: 20 (not 2)
 
Posts: 3
Joined: Sat Oct 01, 2016 2:26 pm


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