12293 - Box Game
Solution Description : Ad hoc problem Do not use top to bottom, ![]() you need to use bottom to top process (i.e. reverse process) ![]() at first set m=1 multiply m by 2 and increment m by 1 until m less n(input). After this if m==n then print Bob else print Alice |
||||||||||