Created
December 4, 2011 15:08
-
-
Save andrewytliu/1430402 to your computer and use it in GitHub Desktop.
CRASH + HACKER = REBOOT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CRASH | |
| # +HACKER | |
| # ------- | |
| # REBOOT | |
| # | |
| for vector in (0..9).to_a.permutation | |
| a,b,c,e,h,k,o,r,s,t = vector | |
| next if c == 0 or h == 0 or r == 0 | |
| crash = "#{c}#{r}#{a}#{s}#{h}".to_i | |
| hacker = "#{h}#{a}#{c}#{k}#{e}#{r}".to_i | |
| reboot = "#{r}#{e}#{b}#{o}#{o}#{t}".to_i | |
| if crash + hacker == reboot | |
| puts "#{crash} + #{hacker} = #{reboot}" | |
| break | |
| end | |
| end |
ruweydoaxmed201-oss
commented
Nov 29, 2025
Ruweydo
Dk win
YooE58ZnDzHsC737DiHO
Cv999
Cv999
Wonderful
Wonderful
Ck44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment