Skip to main content
deleted 17 characters in body
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43

Charcoal, 9 5 44 3 bytes

ENIθEθθ

Try it online!Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input

Charcoal, 9 5 4 bytes

ENIθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input

Charcoal, 9 5 4 3 bytes

Eθθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input
added 17 characters in body
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43

Charcoal, 359 5 4 bytes

ENIθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input

Charcoal, 35 bytes

ENIθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input

Charcoal, 9 5 4 bytes

ENIθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
  N    Implicit range over next (first) input
deleted 228 characters in body
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43

Charcoal, 9 535 bytes

-4 bytes thanks to Neil

NθEθθENIθ

Try it online!Try it online!

Explanation

Nθ     Store next input as number to q
   E θ Map with lambda returning q
     θ  implicit range over q

Alternatively-4 bytes thanks to (thanks againNeil, -1 byte thanks to Neil):

EIθIθ

Try it online!Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning q (first input) castedcast to integer
 Iθ    q castedImplicit torange integerover next (first) input

Charcoal, 9 5 bytes

-4 bytes thanks to Neil

NθEθθ

Try it online!

Explanation

Nθ     Store next input as number to q
   E θ Map with lambda returning q
     θ  implicit range over q

Alternatively (thanks again to Neil):

EIθIθ

Try it online!

Explanation

E  Iθ Map with lambda returning q (first input) casted to integer
 Iθ    q casted to integer

Charcoal, 35 bytes

ENIθ

Try it online!

-4 bytes thanks to Neil, -1 byte thanks to Erik the Outgolfer

Explanation

E  Iθ Map with lambda returning first input cast to integer
      Implicit range over next (first) input
added 305 characters in body
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43
Loading
added 102 characters in body
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43
Loading
Source Link
ASCII-only
  • 5.1k
  • 21
  • 43
Loading