提交时间:2024-12-26 17:17:49
运行 ID: 59510
#include <bits/stdc++.h> using namespace std; int main() { char s[100]; cin >> s; do { cout << s << endl; } while (next_permutation(s, s + strlen(s))); return 0; }