Blogger Information
Blog 7
fans 0
comment 2
visits 28063
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
程序员每日思考之——哥尼斯堡的7桥问题
Huan的博客
Original
3681 people have browsed it

很久很久以前,有一个叫哥尼斯堡的小城。小城被河流分割成了4块陆地,人们为了连接这些陆地,建设了7座桥,如图:

QQ图片20170805152947.png

现在你要找出走遍7座桥的方法,但是必须遵循以下条件:

  • 走过的桥不能再走;

  • 可以多次经过同一块陆地;

  • 可以以任一陆地为起点;

  • 不需要回到起点。

最后,如果能够走遍7座桥的话,请说明一下方法;如果不能的话,也请证明一下。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
1 comments
huan 2017-08-05 17:10:59
欢迎各位留言讨论
1 floor
Author's latest blog post