Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import std.stdio;
|
||||
|
||||
void main() {
|
||||
auto data = [1, 3, 2, 9, 1, 2, 3, 8, 8, 1, 0, 2];
|
||||
import std.stdio;
|
||||
|
||||
int[int] hash;
|
||||
immutable data = [1, 3, 2, 9, 1, 2, 3, 8, 8, 1, 0, 2];
|
||||
|
||||
bool[int] hash;
|
||||
foreach (el; data)
|
||||
hash[el] = 0;
|
||||
writeln(hash.keys);
|
||||
hash[el] = true;
|
||||
hash.byKey.writeln;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue