summaryrefslogtreecommitdiff
path: root/sample/trick2015/ksk_2/entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/trick2015/ksk_2/entry.rb')
-rw-r--r--sample/trick2015/ksk_2/entry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/trick2015/ksk_2/entry.rb b/sample/trick2015/ksk_2/entry.rb
index 506e9e6..55b488e 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'