Solve the no connection puzzle: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
(Updated second D entry) |
||
Line 317: | Line 317: | ||
Using a simple backtracking. |
Using a simple backtracking. |
||
{{trans|Go}} |
{{trans|Go}} |
||
<lang d>import std.stdio, std.algorithm, std.conv, std.string; |
<lang d>import std.stdio, std.algorithm, std.conv, std.string, std.typecons; |
||
// Holes A=0, B=1, ..., H=7 |
// Holes A=0, B=1, ..., H=7 |