Created
December 27, 2016 05:21
-
-
Save littlekbt/81462828b3e6db3179d2c5e8285fa575 to your computer and use it in GitHub Desktop.
This file contains 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
eval(%w(puts ([[[[1,1+1,(1+1+1),2*2*2/1+1, | |
2*(1+1)],[1,1 +1,(1+1+1),2*2*2/1+1,3+2], | |
[1,1+1,1+1+1,2 *3+1,1],[[1,1+1,2*2,1+1, | |
2*2*2]]].map{|a rr|arr.join.to_i}.map{ | |
|e|e.chr('UTF-8') }*""],[[[2*2*2*2 | |
*2*2*2+2,3*3*2*2* 2*2+2*2*2*2* | |
2+3*2+1],[2*2*2*2 *2*2*2+2 | |
,3*3*2*2*2*2+2* 2*2*2*2],[2*2*2* | |
2*(1+1)*2*2+2 -1,2*2*2 *2*2*3-(2 | |
*2+1)]].fla tten .pack( | |
"C*").e ncode(' UTF-8 | |
','Sh ift_JIS ')] | |
,[[ [1+1+1, 0,1,1+1,1 + | |
1+ 1],[ 1+1+ 1,0,2,1 | |
+1 ,1+1 +1],[1+ 1+1,0 | |
, 1,1+ 1+1+1+ 1,2], | |
[ 1+1 +1,0 ,1,1 | |
+1+ 1+1 +1,1 | |
+1+ 1+1+ 1 | |
+1]] .map ( | |
&:j oin).ma p{|e|e .t | |
o_i(8) .ch | |
r('UTF-8')} *""] | |
,[[["1100000110 1111", | |
"11000001011000","1 1000010000 | |
001","1100000110011 0"] .map{|e|e.to_ | |
i(2).chr('UTF-8')}].join( )]].join()))*"") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment