11059 - Maximum Product

All about problems in Volume 110. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 11059 - Maximum Product

Post by brianfry713 » Tue Mar 19, 2013 11:39 pm

Don't double post.
Check input and AC output for thousands of problems on uDebug!

User avatar
uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 11059 - Maximum Product

Post by uDebug » Sat Jun 14, 2014 12:08 pm

Replying to follow the thread.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.

_Fffm
New poster
Posts: 1
Joined: Sun Jul 06, 2014 8:41 am

Re: 11059 - Maximum Product

Post by _Fffm » Sun Jul 06, 2014 8:47 am

You must use 64-bit,and printf("%lld") ,not I64d

because this ,I got threr Wa.

User avatar
uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 11059 - Maximum Product

Post by uDebug » Wed Oct 15, 2014 8:16 am

I've shared some random input for this problem on uDebug.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.

gautamzero
New poster
Posts: 32
Joined: Fri Oct 10, 2014 1:10 pm
Location: Sylhet, Bangladesh

Re: 11059 - Maximum Product

Post by gautamzero » Mon Nov 10, 2014 10:46 pm

i am getting WA... :(
what is the problem in my code?? :(

Code: Select all

got AC. :D 
Last edited by gautamzero on Tue Nov 11, 2014 5:52 pm, edited 1 time in total.
None but a fool is always right..
so don't be upset when u r wrong..

lighted
Guru
Posts: 585
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 11059 - Maximum Product

Post by lighted » Tue Nov 11, 2014 7:10 am

Check your code for random input here. http://www.udebug.com/UVa/11059
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 11059 - Maximum Product

Post by brianfry713 » Sat Jan 10, 2015 8:52 pm

Input:

Code: Select all

3
0 2 0
AC output 2
Check input and AC output for thousands of problems on uDebug!

Post Reply

Return to “Volume 110 (11000-11099)”