Skip to content

Commit 356be94

Browse files
committed
solution 266A - Stones on the Table
1 parent e481582 commit 356be94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

266A - Stones on the Table.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# user: Mousa-mahmood-hilal
2+
#Problem: codeforces 266A - Stones on the Table
3+
a=b=0;input()
4+
for i in input():a+=b==i;b=i
5+
print(a)

0 commit comments

Comments
 (0)