>>454
std.algorithm使って関数型っぽく

arr.reduce!max.writeln;