newton/solutions/1829A.py

11 lines
192 B
Python
Raw Normal View History

2025-01-11 11:41:29 +00:00
t = int(input())
s = "codeforces"
for _ in range(t):
indices = 0
case = input()
for i in range(len(case)):
if case[i] != s[i]:
indices += 1
print(indices)