12293 - Box Game

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

Moderator: Board moderators

Post Reply
Repon kumar Roy
Learning poster
Posts: 96
Joined: Tue Apr 23, 2013 12:54 pm

Re: 12293 - Box Game

Post by Repon kumar Roy »

My question is State (2,2) , can player give valid move , because no box with fewer items..
Please Clearify
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 12293 - Box Game

Post by brianfry713 »

How do you reach that state if both players follow a perfect strategy?
Check input and AC output for thousands of problems on uDebug!
Zyaad Jaunnoo
Experienced poster
Posts: 122
Joined: Tue Apr 16, 2002 10:07 am

Re: 12293 - Box Game

Post by Zyaad Jaunnoo »

Repon kumar Roy wrote: Fri Nov 28, 2014 3:50 pm My question is State (2,2) , can player give valid move , because no box with fewer items..
Please Clearify
Simulate the game using the minmax algorithm and you should see a pattern..
Post Reply

Return to “Volume 122 (12200-12299)”