← Back to List

30045번: ZOAC 6 ↗

Solutions

Python 3
104 B | 104 chars
ans = 0
for _ in range(int(input())):
  s = input()
  if "01" in s or "OI" in s:
    ans += 1
print(ans)