Skip to content

Commit a263717

Browse files
authored
Difficulty: Easy
1 parent c52ca96 commit a263717

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Death Knight Hero/deathknighthero.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
'''
2+
https://open.kattis.com/problems/deathknight
3+
'''
4+
5+
n = int(input())
6+
total = 0
7+
for i in range(n):
8+
a = input()
9+
if "CD" not in a:
10+
total+=1
11+
12+
print(total)

0 commit comments

Comments
 (0)