Submission #573731
Source Code Expand
import std.stdio; import std.conv; import std.range; import std.algorithm; import std.string; void main(){ string[] ch; foreach(int i;0..4){ ch ~= readln.chomp; } auto tmp = ch.map!(s => (cast(char[])s).reverse).array; reverse(tmp); tmp.join('\n').writeln; }
Submission Info
Compile Error
./Main.d(14): Error: template std.array.join does not match any function template declaration /usr/include/dmd/phobos/std/array.d(1273): Error: template std.array.join cannot deduce template function from argument types !()(char[][],char)