Talk:Mind boggling card trick: Difference between revisions

m
m (→‎Johnathan Creek Investigates: added a note on who the fictional Johnathan Creek is.)
 
(2 intermediate revisions by 2 users not shown)
Line 39:
: (posting to myself):   I fixed the REXX code to not do a (random) shuffle on the same card.   "Anything worth doing is worth doing right".   (Hunter S Thompson).     "Anything worth doing is worth overdoing".   (Mike Jagger).   I ended up overdoing it for some   (well, maybe more then some)   of my REXX programs   (witness the boilerplate code for the REXX entry for this Rosetta Code task),   but what the hey!!!       I should stop talking to myself.   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 01:43, 29 August 2018 (UTC)
 
==JohnathanJonathan Creek Investigates==
 
'''''Jonathan Creek''''' is a British mystery fiction and crime drama series produced by the
Line 49:
 
:I guess I know that the magician isn't about to saw the person in half... It's all about the show! The theatrics! And maybe knowing a bit more than your neighbour ;-)<br> --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:02, 5 September 2018 (UTC)
 
::See the 1998 Christmas Special, The Black Canary. In which the eponymous artist is cut in half, fatally, while strapped to a circular rip saw, or is she? At least James Bond escaped the laser. When several years later she commits suicide, fatally, in clear sight of a witness, or does she? Enter Jonathan...--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 10:28, 19 September 2018 (UTC)
 
=="hardness" of the problem==
I'm late to the game, but fwiw.. there are only 27 visibly distinct shufflings, one identification system being "how many red cards did you see" (from 0 to 26), then everything else necessarily follows. Those 27 distinct visible shufflings then allow only a total of 196 distinct distributions of unseen red/black cards into their respective piles, which again all necessarily follow. (and step 3 is superfluous) So the entire space of the problem can be examined as an exhaustive proof in probably less time (and certainly less code) than it takes to create and verbosely dump and test several random cases as per the task! Still, it was an amusing distraction anyway. :) --[[User:Davbol|Davbol]] ([[User talk:Davbol|talk]]) 22:14, 22 July 2022 (UTC)
Anonymous user