1
0
www.mikescher.com/www/statics/aoc/2017/04_solution-1.py

14 lines
206 B
Python
Raw Normal View History

2020-01-13 12:57:50 +01:00
#!/usr/bin/env python3
import aoc
rawinput = aoc.read_input(4)
rcount = 0
for line in rawinput.splitlines():
if len(set(line.split(' '))) == len(line.split(' ')):
rcount += 1
print(rcount)