Skip to content

Instantly share code, notes, and snippets.

@ylegall
Created March 6, 2014 22:18
Show Gist options
  • Save ylegall/9400947 to your computer and use it in GitHub Desktop.
Save ylegall/9400947 to your computer and use it in GitHub Desktop.
D challenge template
import std.stdio, std.string, std.conv;
import std.algorithm;
import std.array;
auto readArray(T)()
{
return array(map!(a => to!T(a))(stdin.readln().split()));
}
void main()
{
auto t = to!int(stdin.readln().strip());
while (t--) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment