Skip to main content
Commonmark migration
Source Link

#Japt -m, 13 12 bytes

Japt -m, 13 12 bytes

-1 byte thanks to Shaggy

;¤?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Explanation:

;o ?UÉ:Cg8+Uc
-m              // Map U through the input:
 o              // Try to create a range [1...U]
   ?            //   If that creates a range (number):
    UÉ          //     Return U-1
      :         //   Else, return:
;      C        //     alphabet (a...z)
        g       //     Index:
         8+Uc   //       8 + char-code of U

Note: ; turns C into the lowercase alphabet

#Japt -m, 13 12 bytes

-1 byte thanks to Shaggy

;¤?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

Japt -m, 13 12 bytes

-1 byte thanks to Shaggy

;¤?UÉ:Cg8+Uc

Try it

Explanation:

;o ?UÉ:Cg8+Uc
-m              // Map U through the input:
 o              // Try to create a range [1...U]
   ?            //   If that creates a range (number):
    UÉ          //     Return U-1
      :         //   Else, return:
;      C        //     alphabet (a...z)
        g       //     Index:
         8+Uc   //       8 + char-code of U

Note: ; turns C into the lowercase alphabet

added 35 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38

#Japt -m, 13 13 12 bytes

-1 byte thanks to Shaggy

;o ?UÉ:Cg8+Uc

Try itTry it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

#Japt -m, 13 bytes

;o ?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

#Japt -m, 13 12 bytes

-1 byte thanks to Shaggy

?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

added 478 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38

#Japt -m, 13 bytes

;o ?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

#Japt -m, 13 bytes

;o ?UÉ:Cg8+Uc

Try it

#Japt -m, 13 bytes

;o ?UÉ:Cg8+Uc

Try it

##Explanation: ;o ?UÉ:Cg8+Uc -m // Map U through the input: o // Try to create a range [1...U] ? // If that creates a range (number): UÉ // Return U-1 : // Else, return: ; C // alphabet (a...z) g // Index: 8+Uc // 8 + char-code of U

Note: ; turns C into the lowercase alphabet

deleted 5 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38
Loading
added 75 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38
Loading
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38
Loading