ruby-changes:40963
From: svn <ko1@a...>
Date: Fri, 11 Dec 2015 23:37:58 +0900 (JST)
Subject: [ruby-changes:40963] svn:r53042 (trunk): * append newline at EOF.
svn 2015-12-11 23:37:45 +0900 (Fri, 11 Dec 2015) New Revision: 53042 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53042 Log: * append newline at EOF. Modified files: trunk/sample/trick2015/eregon/entry.rb trunk/sample/trick2015/ksk_2/entry.rb Index: sample/trick2015/eregon/entry.rb =================================================================== --- sample/trick2015/eregon/entry.rb (revision 53041) +++ sample/trick2015/eregon/entry.rb (revision 53042) @@ -13,4 +13,4 @@ e?{|k|"[_,_,_, _,_,4, _,9,2]+"s[r][k] https://github.com/ruby/ruby/blob/trunk/sample/trick2015/eregon/entry.rb#L13 p{puts"[9,3,_, _,8,_, 1,_,_]+" s.map{ |r|r*'"[2,_,_, 5,_,_, _,4,8]+" '}<<'' ;C.yield}};c=l[i=1];loop{c=l[i+=c.res -ume ? 1:-1]}";eval z.tr ?\n,'' \ No newline at end of file +ume ? 1:-1]}";eval z.tr ?\n,'' Index: sample/trick2015/ksk_2/entry.rb =================================================================== --- sample/trick2015/ksk_2/entry.rb (revision 53041) +++ sample/trick2015/ksk_2/entry.rb (revision 53042) @@ -1 +1 @@ -_='s %sSATISFIABLE';puts eval$<.read.gsub(/.*p.*?(\d+).*?$|\d+/m){$1?%w[?-* +'=-'=~/#{'(-?)'* }-*=(?=]*$1:$&>?0?"\\#$&$|":'$)(?='}+')/x?[_%p%i=0,[*$~].map{|x|x>?-?:v:eval(x+?1)*i-=1}*" "]:_%:UN' \ No newline at end of file +_='s %sSATISFIABLE';puts eval$<.read.gsub(/.*p.*?(\d+).*?$|\d+/m){$1?%w[?-* +'=-'=~/#{'(-?)'* }-*=(?=]*$1:$&>?0?"\\#$&$|":'$)(?='}+')/x?[_%p%i=0,[*$~].map{|x|x>?-?:v:eval(x+?1)*i-=1}*" "]:_%:UN' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/