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 »

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

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

Re: 11059 - Maximum Product

Post by uDebug »

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 »

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

because this ,I got threr Wa.

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

Re: 11059 - Maximum Product

Post by uDebug »

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 »

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: 587
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 11059 - Maximum Product

Post by lighted »

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 »

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)”