Skip to main content
added 587 characters in body
Source Link
Sanchises
  • 9.5k
  • 1
  • 37
  • 63

MATL, 11 + 14 = 25 (safe)

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 

Intended solution

'tacocat'0y"@Yfh]) 

Try it online!

Forgot about this challenge for a while. Explanation:

'tacocat' % Push the string 'tacocat' y" ] % Loop over copy of this string @Yf % Calculate prime factors of each ASCII code point 0 h % Concatenate factors, with initial zero ) % Index (modularly) into the original string. Implicit display. 

MATL, 11 + 14 = 25

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 

MATL, 11 + 14 = 25 (safe)

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 

Intended solution

'tacocat'0y"@Yfh]) 

Try it online!

Forgot about this challenge for a while. Explanation:

'tacocat' % Push the string 'tacocat' y" ] % Loop over copy of this string @Yf % Calculate prime factors of each ASCII code point 0 h % Concatenate factors, with initial zero ) % Index (modularly) into the original string. Implicit display. 
added 1 character in body
Source Link
Sanchises
  • 9.5k
  • 1
  • 37
  • 63

MATL, 11 + 714 = 1825

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 

MATL, 11 + 7 = 18

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 

MATL, 11 + 14 = 25

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat 
Source Link
Sanchises
  • 9.5k
  • 1
  • 37
  • 63

MATL, 11 + 7 = 18

'tacocat'0y 

Try it online!

Current output:

tacocat 0 tacocat 

Desired output, adding 7 bytes:

taataccocaccoaaat