Submission #532981
Source Code Expand
def f(s): s = s.replace('tokyo', ' tokyo ').replace('kyoto', ' kyoto ') s = s.split() return s.count('tokyo') + s.count('kyoto') t = int(input()) for i in range(t): s = input() print(f(s))
Submission Info
Submission Time | |
---|---|
Task | A - 東京都 |
User | nknknk |
Language | Python (3.4.2) |
Score | 0 |
Code Size | 204 Byte |
Status | WA |
Exec Time | 813 ms |
Memory | 7144 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 10_random_to_kyo.txt, 20_noised_tokyoto.txt, 99_teuchi.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
10_random_to_kyo.txt | WA | 813 ms | 7144 KB |
20_noised_tokyoto.txt | WA | 104 ms | 6756 KB |
99_teuchi.txt | WA | 104 ms | 6756 KB |