Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

5 of 5
Commonmark migration

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

AltStyle によって変換されたページ (->オリジナル) /