Submission #532984
Source Code Expand
#!/usr/bin/env python # -*- coding: utf-8 -*- T = int(input()) for t in range(T): S = input() ans = 0 S = S.replace("kyoto", "1") S = S.replace("tokyo", "0") ans += S.count("1") ans += S.count("0") print(ans)
Submission Info
Submission Time | |
---|---|
Task | A - 東京都 |
User | emon |
Language | Python (3.4.2) |
Score | 0 |
Code Size | 250 Byte |
Status | WA |
Exec Time | 105 ms |
Memory | 6760 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 | 105 ms | 6748 KB |
20_noised_tokyoto.txt | WA | 102 ms | 6760 KB |
99_teuchi.txt | WA | 105 ms | 6756 KB |