[gcj] Code Jam 2018 Practise Sessiion : Senate evacuation

2019-04-04 Thread thierry njike
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 sub

Re: [gcj] Code Jam 2018 Practise Sessiion : Senate evacuation

2019-04-04 Thread aabhas chawla
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 wrote: > Hello, > could anybody help me please? i don't know why i got a Wrong Answer error > please what

Re: [gcj] Code Jam 2018 Practise Sessiion : Senate evacuation

2019-04-05 Thread thierry njike
Ah ok thank you I’ll do like this On Fri, 5 Apr 2019 at 01:10, aabhas chawla wrote: > 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 > wr

Re: [gcj] Code Jam 2018 Practise Sessiion : Senate evacuation

2019-04-07 Thread Syed Mir Hasan
THANK YOU GOOGLE 😃😃😃 On Fri, Apr 5, 2019 at 6:59 PM thierry njike wrote: > Ah ok thank you I’ll do like this > > On Fri, 5 Apr 2019 at 01:10, aabhas chawla > wrote: > >> Case 2 is incorrect. >> A becomes absolute majority. >> Reverse the approach. >> >> If total senatora are odd. Remove 1 from