Run ID:124336

提交时间:2025-07-11 11:48:18

while True: try: line = input().strip() if not line: continue char, word = line[0], line[1:].strip() count = word.lower().count(char.lower()) probability = count / len(word) print(f"{probability:.5f}") except (EOFError, ValueError): break