Jeu de Puissance

Énumère tous les sous-ensembles, dont l’ensemble vide ; leur nombre vaut 2ⁿ.

Entrée: TexteRésultat: Texte

Saisie de texte

Options

Exemples

List all combinations of read, write

List all combinations of read, write. The input is a small public learning fixture; it contains no private production data.

Entrée

read,write

Expected answer


read
write
read,write
Délimiteur d'élément
,
List all combinations of json, csv

List all combinations of json, csv. The input is a small public learning fixture; it contains no private production data.

Entrée

json,csv

Expected answer


csv
json
json,csv
Délimiteur d'élément
,
List all combinations of red, blue, green

List all combinations of red, blue, green. The input is a small public learning fixture; it contains no private production data.

Entrée

red,blue,green

Expected answer


red
blue
green
red,blue
red,green
blue,green
red,blue,green
Délimiteur d'élément
,
List all combinations of draft, live

List all combinations of draft, live. The input is a small public learning fixture; it contains no private production data.

Entrée

draft,live

Expected answer


live
draft
draft,live
Délimiteur d'élément
,
List all combinations of yes, no, maybe

List all combinations of yes, no, maybe. The input is a small public learning fixture; it contains no private production data.

Entrée

yes,no,maybe

Expected answer


no
yes
maybe
yes,no
no,maybe
yes,maybe
yes,no,maybe
Délimiteur d'élément
,
Power set

Entrée

1 2 4

Expected answer


4
2
1
2 4
1 4
1 2
1 2 4
Délimiteur d'élément

Paramètres

ParamètreValeur par défautEntrée et choix
Délimiteur d'élément","Les séquences d’échappement comme \n, \r et \t sont acceptées

Outils associés

Arithmétique / Logique

Référence de l’opération

Voir la documentation technique originale (English)