Submission #533443


Source Code Expand

n=int(input())
a=[]
for i in range(n):
    a.append(str(input()))

for i in a:
    t=i.count('tokyo')
    k=i.count('kyoto')

    print(max(t,k))

Submission Info

Submission Time
Task A - 東京都
User koshin
Language Python (3.4.2)
Score 0
Code Size 156 Byte
Status WA
Exec Time 128 ms
Memory 6764 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
WA × 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 WA 128 ms 6668 KB
20_noised_tokyoto.txt WA 127 ms 6764 KB
99_teuchi.txt WA 105 ms 6760 KB