使用例
Set Intersection
入力
1 2 3 4 5
3 4 5 6 7Expected answer
3 4 5- サンプル区切り文字
- 項目区切り記号
duplicates in both sets
入力
1 1 2 2 3
2 2 3 3 4Expected answer
2 3- サンプル区切り文字
- 項目区切り記号
duplicates in first set are removed
入力
red,red,blue
red,blueExpected answer
red,blue- サンプル区切り文字
- 項目区切り記号
,
item delimiter
入力
1-2-3-4-5
3-4-5-6-7Expected answer
3-4-5- サンプル区切り文字
- 項目区切り記号
-
only one set
入力
1 2 3 4 5 6 7 8Expected rejection
Message containsIncorrect number of sets, perhaps you need to modify the sample delimiter or add more samples?- サンプル区切り文字
- 項目区切り記号
sample delimiter
入力
1-2-3-4-5z3-4-5-6-7Expected answer
3-4-5- サンプル区切り文字
z- 項目区切り記号
-
パラメーター
| パラメーター | 既定値 | 入力と選択肢 |
|---|---|---|
| サンプル区切り文字 | "\\n\\n" | \n、\r、\t などのエスケープシーケンスに対応 |
| 項目区切り記号 | "," | \n、\r、\t などのエスケープシーケンスに対応 |