RosettaCodeData/Task/Remove-duplicate-elements/D/remove-duplicate-elements-1.d
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

8 lines
131 B
D

void main() {
import std.stdio, std.algorithm;
[1, 3, 2, 9, 1, 2, 3, 8, 8, 1, 0, 2]
.sort()
.uniq
.writeln;
}