Submission #860548


Source Code Expand

import re
p = r'tokyo|kyoto'

for i in xrange(input()):
    print len(re.findall(p, raw_input()))

Submission Info

Submission Time
Task A - 東京都
User nebukuro09
Language Python (2.7.3)
Score 100
Code Size 103 Byte
Status AC
Exec Time 57 ms
Memory 3268 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 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 AC 57 ms 3256 KB
20_noised_tokyoto.txt AC 55 ms 3260 KB
99_teuchi.txt AC 57 ms 3268 KB