第一:日志 T = int(input()) store = [] for _ in range(T): store.append(input()) mode = 10**9+7 for item in store: s_count = 0 w_socre = 0 ans = 0 for ch in item: if ch == "s": s_count += 1 elif ch == "w": temp = w_socre + s...