Submission #533251


Source Code Expand

n = gets.to_i

n.times do
  s = gets.chomp()
  puts s.scan(/tokyo|kyoto/).size
end

Submission Info

Submission Time
Task A - 東京都
User ichigo
Language Ruby (2.1.5p273)
Score 100
Code Size 87 Byte
Status AC
Exec Time 55 ms
Memory 5272 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 55 ms 5272 KB
20_noised_tokyoto.txt AC 52 ms 5188 KB
99_teuchi.txt AC 53 ms 5096 KB