Case 2 is incorrect.
A becomes absolute majority.
Reverse the approach.

If total senatora are odd. Remove 1 from max part.
Rest all in pairs.



On Thu, Apr 4, 2019 at 7:46 AM thierry njike <[email protected]>
wrote:

> Hello,
> could anybody help me please? i don't know why i got a  Wrong Answer error
> please what wrong with my output knowing that there are many possible
> solutions
>
>
> Case #1: AB AB
> Case #2: AA BC BC A
> Case #3: CC AB
> Case #4: BB AA BC
>
> best regards :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/111172d1-95e7-4410-a034-38c0b33db2a6%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Cheers!
Aabhas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAFjJqodgMokk6iEh6E3krXxm-_ALktTKR-ugnL%3DpJ4YNysdcvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to