TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Double Saw Bye (2009)

50 点作者 concerto超过 7 年前

4 条评论

woodruffw超过 7 年前
Problems like these bear a lot of similarity to CS brain teasers, such as exchanging N items without using N + 1 slots. [1]<p>I wonder if that contributes to why model railroad clubs (like the TMRC) and early computer hobbyist groups intermingled so easily.<p>[1]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;XOR_swap_algorithm" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;XOR_swap_algorithm</a>
评论 #15335459 未加载
mannykannot超过 7 年前
I did not get any hits on &#x27;single saw bye&#x27; - Is that the case where a siding is connected to the main line at only one end? When I get a chance, I will see if I can figure out that one (I guess there are two variants of the single-junction siding, one with one and one with two switches.) Then there is the question of the minimum-length siding for arbitrarily-long trains. There seem to be some similarities to the Towers of Hanoi problem.
falcolas超过 7 年前
I love this kind of problem solving. Doing this safely is probably a time consuming pain, yet less time consuming and dangerous than steaming several miles backwards.
thriftwy超过 7 年前
I don&#x27;t see why you won&#x27;t have maximum train length for every part of track &amp; check that beforehand while routing.<p>Reminds me of the infamous MTU networking problems.
评论 #15331260 未加载
评论 #15335028 未加载