Submission #532967


Source Code Expand

length = int(input())
ans = list()
for x in range(length):
    res = input()
    res = res.count("tokyo") + res.count("kyoto") - res.count("tokyoto")
    ans.append(res)
print("\n".join(res))

Submission Info

Submission Time
Task A - 東京都
User amane2katagiri
Language Python (2.7.3)
Score 0
Code Size 197 Byte
Status RE
Exec Time 269 ms
Memory 8872 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
RE × 3
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 RE 269 ms 8804 KB
20_noised_tokyoto.txt RE 146 ms 8872 KB
99_teuchi.txt RE 144 ms 8696 KB