Author |
Topic: Sink the sub (Read 1042 times) |
|
Ralph
Newbie
Posts: 2
|
|
Sink the sub
« on: Sep 30th, 2007, 5:03pm » |
Quote Modify
|
Howdy, I stumbled on this site via a blog post--another way for me to procrastinate, I reckon. Anyway, I'm a bit stumped by the Sink the Sub (http://www.ocf.berkeley.edu/~wwu/riddles/hard.shtml#sinkTheSub) riddle and was wondering if anyone had any hints as to how to solve this. It would be appreciated. Update: I swear I searched for "Sink the sub", "sink", and "sub" to no avail, yet I just found this http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_har d;action=display;num=1028142186 in the unsolved hard riddle sticky.
|
« Last Edit: Sep 30th, 2007, 5:05pm by Ralph » |
IP Logged |
|
|
|
Ralph
Newbie
Posts: 2
|
|
Re: Sink the sub
« Reply #1 on: Sep 30th, 2007, 5:18pm » |
Quote Modify
|
Sorry about that. I sure haven't made a very good first impression.
|
|
IP Logged |
|
|
|
FiBsTeR
Senior Riddler
Gender:
Posts: 581
|
|
Re: Sink the sub
« Reply #2 on: Sep 30th, 2007, 6:30pm » |
Quote Modify
|
I remember reading the answer on here somewhere, and I think it went like this: Let f(A,B,t) = At + B, then simply drop the torpedos at every t like this: t=1: f(0,0,1) t=2: f(-1,0,2) t=3: f(0,-1,3) t=4: f(-1,-1,4) t=5: f(0,1,5) t=6: f(1,0,6) t=7: f(1,1,7) t=8: f(-1,1,8) t=9: f(1,-1,9) t=10: f(0,-2,10) ... If the velocity of the sub is p and its original position q, then eventually, for some t, A=p and B=q, and thus f(A,B,t)=f(p,q,t)=pt+q=pt+q, and the sub is sunk.
|
« Last Edit: Sep 30th, 2007, 6:30pm by FiBsTeR » |
IP Logged |
|
|
|
temporary
Full Member
Posts: 255
|
|
Re: Sink the sub
« Reply #3 on: Feb 12th, 2008, 11:16pm » |
Quote Modify
|
0 0 0, 0 0 1, 0 1 0, 1 0 0, 1 0 1, 0 1 1, 1 1 0, 1 1 1, 0 0 2...
|
|
IP Logged |
My goal is to find what my goal is, once I find what my goal is, my goal will be complete.
|
|
|
|