Skip to content

Commit ddc4dfb

Browse files
committed
Added output header
1 parent 21d6f5d commit ddc4dfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

expand.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
-t --output_test output test code
2727
-h --help print help
2828
'''
29+
output_header = '//https://github.com/rust-lang-ja/ac-library-rs\n'
2930
opt_list = ['output-comment', 'output-test', 'help']
3031
output_list_all = ('lazysegtree', 'segtree', 'convolution', 'twosat', 'scc',
3132
'fenwicktree', 'math', 'modint', 'maxflow', 'dsu', 'mincostflow', 'string', 'internal_bit', 'internal_math', 'internal_type_traits', 'internal_scc', 'internal_queue')
@@ -101,5 +102,6 @@ def output_file(filename, output_comment, output_test):
101102
if not i.startswith('internal'):
102103
output_data.append('use {}::*;'.format(i))
103104

105+
print(output_header)
104106
for i in output_data:
105107
print(i)

0 commit comments

Comments
 (0)