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 Answer

deleted 32 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13

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.

⍎(-⎕)⌽⍕⎕

Try it online! Courtesy of Dyalog Classic

APL+WIN, (削除) 8 (削除ここまで) 7 bytes

Prompts for n as integer and m as string:

⍎(-⎕)⌽⎕

Try it online! Courtesy of Dyalog Classic

added 54 characters in body
Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13

APL+WIN, 8 bytes

Prompts for m followed by n: as integers. Minus 1 byte if m is entered as a string.

⍎(-⎕)⌽⍕⎕

Try it online! Courtesy of Dyalog Classic

APL+WIN, 8 bytes

Prompts for m followed by n:

⍎(-⎕)⌽⍕⎕

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.

⍎(-⎕)⌽⍕⎕

Try it online! Courtesy of Dyalog Classic

Source Link
Graham
  • 7.8k
  • 1
  • 15
  • 13

APL+WIN, 8 bytes

Prompts for m followed by n:

⍎(-⎕)⌽⍕⎕

Try it online! Courtesy of Dyalog Classic

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