/***************************** Name : Yoshitak Create Date : 2015/08/08 Program Name : main.d Problem No. : 82 *****************************/ /*--------------------- import -----------------------*/ import std.stdio; import std.string; import std.conv; import std.array; /*--------------------- main -----------------------*/ int main(string[] args) { //input string[] input; string[2] color_val = ["W", "B"]; input = split(chomp(readln())); //into the value uint w, h, color; w = to!int(input[0]); h = to!int(input[1]); if(input[2] == "W"){ color = 0; }else{ color = 1; } //output for(int i=0; i