PHP, (削除) 111 (削除ここまで) (削除) 100 (削除ここまで) 97 bytes
$s=str_repeat("00000\n",5);$s[($x=($a=$argv)[1])+29-6*$y=$a[2]]=$a[3];echo$x&&$y&&$x<6&$y<6?$s:E;
prints E if row/column out of range.
Run with php -r <code> <row> <column> <character>
Titus
- 14.9k
- 1
- 25
- 41