Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
59510 | 王一涵(吃土豆长大的马铃薯) | 全排列 | C++ | Accepted | 1 MS | 244 KB | 181 | 2024-12-26 17:17:49 |
#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; }