From 2ff5fde8580295263547b8e758626b7e20e2ff98 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 31 Jul 2023 00:18:29 +0900 Subject: Update --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 784b4f9..122710a 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,17 @@ ```ruby -s = ' -+++++ +++++ -[ - > +++++ +++++ + > +++++ +++++ + - > +++++ +++++ > +++++ +++++ - <<<< - +MyName = "nsfisis" + +ss = [ + "GHlBH", "2,a0KLG", "Rc1_g", + "![oLhVE", "2,a0KLG", + "![oLhVE", "2,a0KLG", ] -> . > +++++ . >> ++ . < +++++ . < . > . < . -' -m=[c=p=0,0,0,0,0];(k=s[c])=='>'?p+=1:k=='<'?p-=1: -k=='+'?m[p]+=1:k=='-'?m[p]-=1:k=='.'?putc(m[p]): -k=='['?(0until s[c+=1]==']'if m[p]==0): -k==']'?(0until s[c-=1]=='['if m[p]!=0):0while s[c+=1] +puts ss + .map{|s| s + .each_char + .map{(_1.ord + 12323).chr(Encoding::UTF_8)} + .join} + .zip(MyName.each_char) + .map{"#{_2} | #{_1}"} ``` -- cgit v1.2.3-70-g09d2