回答編集履歴
1
typo
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
input = gets.to_s
|
18
18
|
|
19
|
-
p "in
|
19
|
+
p "input:[#{input}], n:[#{n}], input.include?(n): #{input.include?(n)}"
|
20
20
|
|
21
21
|
arr << input unless input.include?(n)
|
22
22
|
|