Submission #1273794
Source Code Expand
gets a=0 a += 1 while $_.sub! /iiwi|iwii/, ?i a += 1 while $_.sub! /iwi/, '' p a
Submission Info
Submission Time | |
---|---|
Task | I - イウィ |
User | akouryy |
Language | Ruby (2.3.3) |
Score | 5 |
Code Size | 86 Byte |
Status | AC |
Exec Time | 7 ms |
Memory | 1788 KB |
Compile Error
./Main.rb:3: warning: ambiguous first argument; put parentheses or a space even after `/' operator ./Main.rb:4: warning: ambiguous first argument; put parentheses or a space even after `/' operator
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 5 / 5 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00, 01, 02, 03, 04, 90, 91 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00 | AC | 7 ms | 1788 KB |
01 | AC | 7 ms | 1788 KB |
02 | AC | 7 ms | 1788 KB |
03 | AC | 7 ms | 1788 KB |
04 | AC | 7 ms | 1788 KB |
90 | AC | 7 ms | 1788 KB |
91 | AC | 7 ms | 1788 KB |