Search found 2 matches

by efagerho
Tue Dec 16, 2014 4:41 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 34068

Re: 101 - The Blocks Problem

There seems to be a possibility for an infinite loop in the current description. Assume that I have the situation: 0: a 1 1: b 0 If I now initiate the command "move a onto b", then the following happens: 1. I move the block on top of "a" to its initial position, so I put it on top of pile 1 and b ha...
by efagerho
Tue Dec 16, 2014 2:43 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 172934

Re: 100 - The 3n + 1 problem

Just registered to this site for some interview prep... anyway, tried the first problem as a trivial warmup and I'm getting a "runtime error" with no explanation of what's going wrong. The code is the following: http://ideone.com/oA5HDc EDIT: Nevermind... it seems like the fact that I was lazy and d...

Go to advanced search