リセット:[Enter] 実行 :[Space]
変数「?exists」には,辞書順で次の順列が存在する場合には「true」が,そうでない場合には「false」が代入されます。 https://cpprefjp.github.io/reference/algorithm/next_permutation.html