at_coder_friends 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +2 -2
- data/docs/CONFIGURATION.md +2 -4
- data/lib/at_coder_friends/generator/base.rb +41 -0
- data/lib/at_coder_friends/generator/cxx_builtin.rb +196 -143
- data/lib/at_coder_friends/generator/main.rb +7 -2
- data/lib/at_coder_friends/generator/ruby_builtin.rb +97 -51
- data/lib/at_coder_friends/parser/input_format.rb +387 -188
- data/lib/at_coder_friends/parser/input_type.rb +91 -0
- data/lib/at_coder_friends/parser/main.rb +1 -0
- data/lib/at_coder_friends/problem.rb +81 -6
- data/lib/at_coder_friends/version.rb +1 -1
- data/lib/at_coder_friends.rb +2 -0
- data/tasks/regression/check_const.rake +15 -14
- data/tasks/regression/check_diff.rake +2 -2
- data/tasks/regression/check_fmt.rake +18 -15
- data/tasks/regression/check_parse.rake +3 -4
- data/tasks/regression/list_handler.rb +46 -0
- data/tasks/regression/regression.rb +7 -41
- data/tasks/regression/report_handler.rb +20 -0
- data/tasks/regression/section_list.rake +1 -1
- data/templates/{cxx_builtin_interactive.cxx → cxx_builtin.cxx.erb} +33 -2
- data/templates/{ruby_builtin_interactive.rb → ruby_builtin.rb.erb} +17 -2
- metadata +8 -6
- data/templates/cxx_builtin_default.cxx +0 -26
- data/templates/ruby_builtin_default.rb +0 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: at_coder_friends
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nejiko96
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -159,12 +159,14 @@ files:
|
|
159
159
|
- lib/at_coder_friends/context.rb
|
160
160
|
- lib/at_coder_friends/emitter.rb
|
161
161
|
- lib/at_coder_friends/errors.rb
|
162
|
+
- lib/at_coder_friends/generator/base.rb
|
162
163
|
- lib/at_coder_friends/generator/cxx_builtin.rb
|
163
164
|
- lib/at_coder_friends/generator/main.rb
|
164
165
|
- lib/at_coder_friends/generator/ruby_builtin.rb
|
165
166
|
- lib/at_coder_friends/parser/binary.rb
|
166
167
|
- lib/at_coder_friends/parser/constraints.rb
|
167
168
|
- lib/at_coder_friends/parser/input_format.rb
|
169
|
+
- lib/at_coder_friends/parser/input_type.rb
|
168
170
|
- lib/at_coder_friends/parser/interactive.rb
|
169
171
|
- lib/at_coder_friends/parser/introduction_wrapper.rb
|
170
172
|
- lib/at_coder_friends/parser/main.rb
|
@@ -189,13 +191,13 @@ files:
|
|
189
191
|
- tasks/regression/check_diff.rake
|
190
192
|
- tasks/regression/check_fmt.rake
|
191
193
|
- tasks/regression/check_parse.rake
|
194
|
+
- tasks/regression/list_handler.rb
|
192
195
|
- tasks/regression/regression.rb
|
196
|
+
- tasks/regression/report_handler.rb
|
193
197
|
- tasks/regression/section_list.rake
|
194
198
|
- tasks/regression/setup.rake
|
195
|
-
- templates/
|
196
|
-
- templates/
|
197
|
-
- templates/ruby_builtin_default.rb
|
198
|
-
- templates/ruby_builtin_interactive.rb
|
199
|
+
- templates/cxx_builtin.cxx.erb
|
200
|
+
- templates/ruby_builtin.rb.erb
|
199
201
|
homepage: https://github.com/nejiko96/at_coder_friends
|
200
202
|
licenses:
|
201
203
|
- MIT
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// /*** URL ***/
|
2
|
-
|
3
|
-
#include <cstdio>
|
4
|
-
|
5
|
-
using namespace std;
|
6
|
-
|
7
|
-
#define REP(i,n) for(int i=0; i<(int)(n); i++)
|
8
|
-
#define FOR(i,b,e) for(int i=(b); i<=(int)(e); i++)
|
9
|
-
|
10
|
-
/*** CONSTS ***/
|
11
|
-
|
12
|
-
/*** DCLS ***/
|
13
|
-
|
14
|
-
void solve() {
|
15
|
-
/*** OUTPUT ***/
|
16
|
-
}
|
17
|
-
|
18
|
-
void input() {
|
19
|
-
/*** INPUTS ***/
|
20
|
-
}
|
21
|
-
|
22
|
-
int main() {
|
23
|
-
input();
|
24
|
-
solve();
|
25
|
-
return 0;
|
26
|
-
}
|