1 // useful public d std imports
2 // also internal std import
6 import logging
; // technically
9 import std
.random
: choice
;
11 import std
.math
: sqrt
;
12 import std
.container
.rbtree
: set
= redBlackTree
;
13 import std
.string
: format
;
14 //import std.algorithm.iteration: split = splitter;
15 import std
.array
: join
, split
;
16 import std
.container
: list
= DList
;
17 import std
.algorithm
.comparison
: min
, max
;
18 import std
.math
: abs
, log
, pow
;
20 pragma(inline
, true) float sqrt(int num
) {
21 return sqrt(cast(float)num
);