atcoder_greedy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -15
- data/atcoder_greedy.gemspec +1 -1
- data/lib/atcoder_greedy/command/create.rb +1 -1
- data/lib/atcoder_greedy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f2b89e384eba68f987b92e8834a0e34c9f22e5
|
4
|
+
data.tar.gz: cd16013e2bd6e3277607904fea4922eda54948ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86c4da3eacd3c8b5ae044a0373d6c2d14a68de51630214efd0ecbb2813d4057e697848617e19696c988b1652bc5bc184b1b768c32b56a1df7e3f8d67ff4f52de
|
7
|
+
data.tar.gz: 0a899cf524a11805e2f0b5370fe8b18bf2987f73f01e9da31b6707fe4b0e9c03acb077e110b9318220e76ce127b956f7fec57da73cf6bc58134bf034b1403086
|
data/README.md
CHANGED
@@ -3,25 +3,21 @@
|
|
3
3
|
|
4
4
|
## Installation
|
5
5
|
|
6
|
-
```ruby
|
7
|
-
gem 'atcoder_greedy'
|
8
|
-
```
|
9
|
-
|
10
|
-
And then execute:
|
11
|
-
|
12
|
-
$ bundle
|
13
|
-
|
14
|
-
Or install it yourself as:
|
15
|
-
|
16
6
|
$ gem install atcoder_greedy
|
17
7
|
|
18
8
|
## Usage
|
19
9
|
|
20
10
|
```
|
21
|
-
atcoder_greedy create CONTESTNAME
|
11
|
+
$ atcoder_greedy create CONTESTNAME
|
12
|
+
```
|
13
|
+
|
14
|
+
example: ABC008の場合
|
15
|
+
|
16
|
+
```
|
17
|
+
$ atcoder_greedy create abc008
|
22
18
|
```
|
23
19
|
|
24
|
-
|
20
|
+
とすると、以下のようなファイルが生成される。
|
25
21
|
|
26
22
|
```
|
27
23
|
.
|
@@ -47,15 +43,15 @@ example: ABC008の場合,下のようにファイルが生成される
|
|
47
43
|
└── test_abc008_4.rb
|
48
44
|
```
|
49
45
|
|
50
|
-
各問題について,
|
46
|
+
各問題について,input.txtがインプット,output.txtがアウトプット,abc_00X_Y.rbが解答ファイル,test_abc_00X_Y.rbがテストファイルとなる。
|
51
47
|
|
52
48
|
abc00X_Y.rbのsolveメソッドに問題の解答を書く。
|
53
49
|
|
54
50
|
テストを実行するには、
|
55
51
|
|
56
52
|
```
|
57
|
-
cd abc00X_Y/
|
58
|
-
ruby test_abc00X_Y.rb
|
53
|
+
$ cd abc00X_Y/
|
54
|
+
$ ruby test_abc00X_Y.rb
|
59
55
|
```
|
60
56
|
|
61
57
|
とすれば良い。
|
data/atcoder_greedy.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["goog@brookbach.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{This gem is very useful atcoder plugin.}
|
13
|
-
spec.description = %q{By using this plugin, You can create contest templates.}
|
13
|
+
spec.description = %q{By using this plugin, You can create atcoder-contest templates.}
|
14
14
|
spec.homepage = "https://github.com/keigo-brook/atcoder_greedy"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atcoder_greedy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- keigo-brook
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description: By using this plugin, You can create contest templates.
|
83
|
+
description: By using this plugin, You can create atcoder-contest templates.
|
84
84
|
email:
|
85
85
|
- goog@brookbach.com
|
86
86
|
executables:
|