回答編集履歴
1
typo
answer
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
2.times{
|
9
9
|
input = gets.to_s
|
10
|
-
p "
|
10
|
+
p "input:[#{input}], n:[#{n}], input.include?(n): #{input.include?(n)}"
|
11
11
|
arr << input unless input.include?(n)
|
12
12
|
}
|
13
13
|
|