Submission #532938
Source Code Expand
T=gets.to_i T.times do s=gets t=s.gsub(/(tokyo|kyoto)/,"@") puts (s.size-t.size)/4 end
Submission Info
Submission Time | |
---|---|
Task | A - 東京都 |
User | ustimaw |
Language | Ruby (1.9.3p550) |
Score | 100 |
Code Size | 99 Byte |
Status | AC |
Exec Time | 49 ms |
Memory | 4108 KB |
Compile Error
./Main.rb:5: warning: (...) interpreted as grouped expression
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 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 | AC | 49 ms | 4068 KB |
20_noised_tokyoto.txt | AC | 49 ms | 4108 KB |
99_teuchi.txt | AC | 49 ms | 4072 KB |