← Back to List
18698번: The Walking Adam ↗
Solutions
Python 3
75 B | 75 chars
for _ in range(int(input())): s = input() + "D" print(s.index("D"))