summaryrefslogtreecommitdiff
path: root/sample/trick2015/ksk_2/entry.rb
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-11 14:37:45 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-11 14:37:45 +0000
commit4a1a74991dafaf85f79db00ee828624d20989c01 (patch)
treef1414f74f28e64508ad5ef48b571d7eebd763b25 /sample/trick2015/ksk_2/entry.rb
parent5c28308f9fbb44bfc73fe8af58fdcce0ad0379f2 (diff)
* append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 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'