Last active
August 29, 2015 14:01
-
-
Save jikeytang/b609b98f94d690b212eb to your computer and use it in GitHub Desktop.
[ Javascript ] - 20140523-题目1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
有A、B、C、D四个人,要在夜里过一座桥。他们通过这座桥分别需要耗时1、2、5、10分钟,只有一支手电, | |
并且同时最多只能两个人一起过桥。请问,如何安排,能够在17分钟内这四个人都过桥? | |
PS: | |
1. 回复时注意加上下面这句话,才会有语法高亮或格式缩进。 | |
```javascript | |
// you code | |
``` | |
2. 粘贴代码时请使用shift+tab,缩进前面的空白。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment