Anonymous user
Dinesman's multiple-dwelling problem: Difference between revisions
Dinesman's multiple-dwelling problem (view source)
Revision as of 23:53, 13 February 2012
, 12 years ago→{{header|D}}: fix overflow issue
m (→{{header|D}}) |
(→{{header|D}}: fix overflow issue) |
||
Line 131:
<lang d>import std.stdio, std.exception, std.range, std.algorithm, std.math;
pure
for (
result *= i;
return result;
Line 140:
struct LazyPermutation {
private uint[] seq;
private
private size_t num;
|