summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sample/trick2015/eregon/entry.rb2
-rw-r--r--sample/trick2015/ksk_2/entry.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/sample/trick2015/eregon/entry.rb b/sample/trick2015/eregon/entry.rb
index b325c6c198..51d5c768b2 100644
--- a/sample/trick2015/eregon/entry.rb
+++ b/sample/trick2015/eregon/entry.rb
@@ -13,4 +13,4 @@ e?{|k|"[_,_,_, _,_,4, _,9,2]+"s[r][k]
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,''
diff --git a/sample/trick2015/ksk_2/entry.rb b/sample/trick2015/ksk_2/entry.rb
index 506e9e6917..55b488e3a8 100644
--- a/sample/trick2015/ksk_2/entry.rb
+++ b/sample/trick2015/ksk_2/entry.rb
@@ -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'