# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1092801 | vibeslayer | Aron (COCI17_aron) | Cpython 3 | 14 ms | 2944 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
n = int(input())
prev = '-1'
c = 0
for i in range(n):
x = input()
if x != prev:
c += 1
prev = x
print(c+1)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |