APL+WIN, 8(削除) 8 (削除ここまで) 7 bytes
Prompts for m followed by n as integers. Minus 1 byte ifinteger and m is entered as a string.:
⍎(-⎕)⌽⍕⎕⌽⎕
Try it online! Courtesy of Dyalog Classic Try it online! Courtesy of Dyalog Classic
APL+WIN, 8 bytes
Prompts for m followed by n as integers. Minus 1 byte if m is entered as a string.
⍎(-⎕)⌽⍕⎕
APL+WIN, (削除) 8 (削除ここまで) 7 bytes
Prompts for n as integer and m as string:
⍎(-⎕)⌽⎕
APL+WIN, 8 bytes
Prompts for m followed by n: as integers. Minus 1 byte if m is entered as a string.
⍎(-⎕)⌽⍕⎕
APL+WIN, 8 bytes
Prompts for m followed by n as integers. Minus 1 byte if m is entered as a string.
⍎(-⎕)⌽⍕⎕