[Python/2015] Move solutions into .py files
This commit is contained in:
parent
8c2be5fb77
commit
94dd3ae399
52 changed files with 996 additions and 3314 deletions
6
Python/2015/08.py
Normal file
6
Python/2015/08.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from lib import *
|
||||
|
||||
input = read_input(2015, 8)
|
||||
|
||||
print(sum(len(line) - len(eval(line)) for line in input.splitlines()))
|
||||
print(sum(len(repr(line)) + line.count('"') - len(line) for line in input.splitlines()))
|
Loading…
Add table
Add a link
Reference in a new issue