Pagini: [1]   În jos
  Imprimă  
Ajutor Subiect: Problem: Marbles Game  (Citit de 7385 ori)
0 Utilizatori şi 1 Vizitator pe acest subiect.
Cosmin
Echipa infoarena
Nu mai tace
*****

Karma: 351
Deconectat Deconectat

Mesaje: 1.799



Vezi Profilul
« : Ianuarie 31, 2016, 01:37:38 »

http://www.infoarena.ro/blog/cups-and-marbles
Memorat
klamathix
Echipa infoarena
Nu mai tace
*****

Karma: 733
Deconectat Deconectat

Mesaje: 1.216



Vezi Profilul
« Răspunde #1 : Ianuarie 31, 2016, 15:21:21 »

You mention you might end up putting a marble in the original bin, but it's not clear if you can wrap around the circle multiple times. In other words, is M <= N?
Memorat
andreitheo87
Strain


Karma: 13
Deconectat Deconectat

Mesaje: 15



Vezi Profilul
« Răspunde #2 : Februarie 03, 2016, 14:54:13 »

I tried looking for an invariant but then I noticed that from any position I can transition to a configuration where all the marbles are in the first bin (so I cannot easily eliminate any combination). If I could only find a way to go backwards from any position to the same "everything in one bin" configuration that would be great...

Mihai, I believe that having no limit on M makes the problem more interesting (and harder). Do you already have a solution for M <= N?

Later edit: for M <= N it is possible to create one big stack of marbles in one bin, distribute them and then take them one by one (from "right" to "left" modulo N) to form the second pattern.
« Ultima modificare: Februarie 03, 2016, 15:02:16 de către Teodorescu Andrei-Marius » Memorat
klamathix
Echipa infoarena
Nu mai tace
*****

Karma: 733
Deconectat Deconectat

Mesaje: 1.216



Vezi Profilul
« Răspunde #3 : Februarie 04, 2016, 00:26:54 »

@Andrei: Yes, that was the big picture I had in mind for M <= N. I don't have anything for M > N, at least for now.
Memorat
Pagini: [1]   În sus
  Imprimă  
 
Schimbă forumul:  

Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines