judge_system 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/judge_system/version.rb +1 -1
- data/lib/judge_system.rb +2 -1
- data/test.rb +2 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c73121c4708109516c5cdcafc94d9c3f76d6888d
|
4
|
+
data.tar.gz: 744db4db054f41ad05d6525814c6916239da0f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cc7bbcf994f7ea2c54643ca4110e22e4ee02bf4c926ba8d2233de12208af0601dd4d97594301b2cf258b0f27732722bd3f2b3f03e6b2884b4bd10fdcd7327c
|
7
|
+
data.tar.gz: 61b643ba3f4f11a82508af9777fff50ffbe36029ef86474b38f142faa4d104ecc9fef4fa078a0093a38ba583c87b57df455d6e7a701b3b17e1d4192188bbe84e
|
data/README.md
CHANGED
data/lib/judge_system/version.rb
CHANGED
data/lib/judge_system.rb
CHANGED
@@ -37,7 +37,8 @@ module JudgeSystem
|
|
37
37
|
|
38
38
|
module Wandbox
|
39
39
|
def run lang, code, input, time
|
40
|
-
|
40
|
+
path = Gem::Specification.find_by_path('judge_system').full_gem_path
|
41
|
+
sys = File.open("#{path}/lib/compile_systems/#{lang}_system.cpp", "r").read
|
41
42
|
data = nil
|
42
43
|
stdin = code + "\n<$><*><$><*><$><*><$><*><$><*><$><*><$>\n" + input
|
43
44
|
begin
|
data/test.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: judge_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshifumi Kiyono
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/compile_systems/rb_system.cpp
|
77
77
|
- lib/judge_system.rb
|
78
78
|
- lib/judge_system/version.rb
|
79
|
+
- test.rb
|
79
80
|
homepage: https://github.com/getty104/judge_system
|
80
81
|
licenses:
|
81
82
|
- MIT
|