Skip to main content
4 of 10
added 2 characters in body
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97

##Pyth - 71 Cracked

###Code

C-3P0: "Sir, the possibility,..."* 
Han Solo: "Never Tell Me The Odds!"

###Output 3720


Originally, George Lucas had Han interrupt C3-PO.*

**He called this his greatest idea since Jar-Jar.


###Original

ts,*s,y30 l" : : i i Han Solo "eP-C"h"TsrhT

###Explanation

The remaining characters go on the next line. Pyth only interprets the first line of a file. ts, make a 2-tuple and get their sum -1. * multiply. s,y30 l"..." sum the 2-tuple containing 230 and the length of the string (18). eP-C"h"T get the largest prime factor of 10 less than h's ascii value (47). srhT get the sum of numbers from 0-10. All in all, this basically just computes: (302+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S

FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97