For the main cops' challenge, click here

NOTICE - This challenge is now closed. Any cracks which are posted now will not be counted on the leaderboard and the accepted answer will not change.


Given the original program, its output and the output of the changed program, you have to find out which characters need to be changed, removed or added to get the expected output.

When you crack someone's code, leave a comment with a link to your crack on their answer.


# [<language>, <username of program owner>](<link to answer>)

## Description

<description of change and how you found it>

## Code

<changed code>


The person who has cracked the most solutions wins.


13 cracks:

  • Dennis

8 cracks:

  • Alex Van Liew

5 cracks:

  • Sp3000
  • isaacg

3 cracks:

  • Luis Mendo
  • jimmy23013
  • Dom Hastings

2 cracks:

  • mbomb007
  • Sluck49

1 crack:

  • TheNumberOne
  • Jakube
  • ProudHaskeller
  • David Zhang
  • samgak
  • paul.oderso
  • rayryeng
  • mgibsonbr
  • n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳
  • Stewie Griffin
  • abligh
  • 1
    \$\begingroup\$ @mbomb007 Can you refrain from editing this post, because it makes it harder for me to know where I am when updating the leaderboard \$\endgroup\$
    – Beta Decay
    Aug 13, 2015 at 20:25

61 Answers 61

1 2

Python, Beta Decay


Calling math.tan on the desired ouput gives 0.777…, so it suffices to replace tan with atan and 749 with 7/9.


import math, decimal

The output is actually 0.66104316885068692410953872240497730672359466552734375 on my machine, which rounds the (intermediate) result of math.atan(7/9) differently.

  • \$\begingroup\$ Yep, you got it :D \$\endgroup\$
    – Beta Decay
    Aug 15, 2015 at 15:53
1 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.