Skip to main content
Commonmark migration
Source Link

#05AB1E, 5 3 bytes

05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 

#05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 

05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#05AB1E, 5 3 bytes

Saved 2 bytes thanks to AdnanAdnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 

#05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 

#05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] + # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 
added 139 characters in body
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164

#05AB1E, 55 3 bytes

Saved 2 bytes thanks to Adnan

+¹sŸÆÝ+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 1005, 5100 +Ý # addrange(0,X): 105[0,1,2,3,4,5] ¹sŸ+  # range(A..B)add: range(100[100, 105)101,102,103,104,105] Æ Æ # reduced subtraction: 100-101-102-103-104-105 

#05AB1E, 5 bytes

+¹sŸÆ 

Explanation

 # implicit input, ex 100, 5 + # add: 105 ¹sŸ # range(A..B): range(100, 105) Æ # reduced subtraction 

#05AB1E, 5 3 bytes

Saved 2 bytes thanks to Adnan

Ý+Æ 

Explanation

Takes P then N as input.

 # implicit input, ex 5, 100 Ý # range(0,X): [0,1,2,3,4,5] +  # add: [100,101,102,103,104,105] Æ # reduced subtraction: 100-101-102-103-104-105 
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164
Loading