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

14 lines
206 B
Python

#!/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)