Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

Pyth - 71 CrackedCracked

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.


Interesting note: despite all the changes that Pyth has gone through, there is still a valid answer here!


###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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Updated

*h30tC"y" "-P:Sir, e possibilit,...
Han Solo: Never Tell Me The Odds!"
Still works even after all this time...

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

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.


Interesting note: despite all the changes that Pyth has gone through, there is still a valid answer here!


###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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Updated

*h30tC"y" "-P:Sir, e possibilit,...
Han Solo: Never Tell Me The Odds!"
Still works even after all this time...

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

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.


Interesting note: despite all the changes that Pyth has gone through, there is still a valid answer here!


###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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Updated

*h30tC"y" "-P:Sir, e possibilit,...
Han Solo: Never Tell Me The Odds!"
Still works even after all this time...

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

Updated links etc
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97

##Pyth - 71 Cracked

Pyth - 71 Cracked

###Code

Code

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

###Output 3720

Output

3720

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

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


Interesting note: despite all the changes that Pyth has gone through, there is still a valid answer here!


###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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Updated

*h30tC"y" "-P:Sir, e possibilit,...
Han Solo: Never Tell Me The Odds!"
Still works even after all this time...

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here.Try it here. Thanks @isaacg :)

##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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+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 (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

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.


Interesting note: despite all the changes that Pyth has gone through, there is still a valid answer here!


###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 h's ascii value minus 10 (47).
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+18)(47)+55-1. After reading @isaacg's answer I noticed there is an extremely simple solution: *h30tC"y" which is 31120.

Updated

*h30tC"y" "-P:Sir, e possibilit,...
Han Solo: Never Tell Me The Odds!"
Still works even after all this time...

Sorry for poor explanation formatting, I don't know how to use spoiler blocks :S (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

added 72 characters in body
Source Link
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 h's ascii value minus 10 (47).   
srhT get the sum of numbers from 0-10. All

All in all, this basically just computes: (30
2+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 (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

##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 h's ascii value minus 10 (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

Now you can run Pyth online! Try it here. Thanks @isaacg :)

##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 h's ascii value minus 10 (47). 
srhT get the sum of numbers from 0-10.

All in all, this basically just computes: (30
2+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 (@Sp3000 made it a bit nicer for you, though)

Now you can run Pyth online! Try it here. Thanks @isaacg :)

deleted 4 characters in body
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
added 110 characters in body
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
added 2 characters in body
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
added 2 characters in body
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
Added Explanation
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
added 59 characters in body
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading