Submission #532923


Source Code Expand

# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll

T = int(raw_input())
for i in xrange(T):
    s = raw_input()
    print max(s.count("kyoto"), s.count("tokyo"))

Submission Info

Submission Time
Task A - 東京都
User roiti
Language Python (2.7.3)
Score 0
Code Size 226 Byte
Status WA
Exec Time 93 ms
Memory 5448 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 93 ms 5448 KB
20_noised_tokyoto.txt WA 78 ms 4936 KB
99_teuchi.txt WA 78 ms 4936 KB