Skip to content

Commit

Permalink
Create 3249.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-im-gabriel authored Apr 5, 2023
1 parent 24f31f2 commit 0ceeb55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 3249.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wins = 0
for _ in range(int(input())):
string = input()
if not 'CD' in string:
wins += 1

print(wins)

0 comments on commit 0ceeb55

Please sign in to comment.