mobile wallpaper 1
mobile wallpaper 2
mobile wallpaper 3
mobile wallpaper 4
115 字
1 分钟
这是一篇测试文章
2025-08-08
无标签

这是标题#

In this letter, you should give one of your friends some advice about how to improve the presentation he is going to take next month. You should write at least 120 words but no more than 180 words

你是一名大一新生,你的好朋友将要在下个月做一个演讲。请你用英语写一封信,对于如何去改善他的演讲提出一些建议。使用简单易懂的单词,词数在120到180以内。

#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
const int N = 10;
int n;
int path[N];
bool st[N];
void dfs(int u) {
if (u == n) {
for(int i = 0; i < n; i++) {
cout << path[i] << " ";
}
cout << endl;
return;
}
for (int i = 1; i <= n; i++) {
if (!st[i]) {
path[u] = i;
st[i] = true;
dfs(u + 1);
st[i] = false;
}
}
}
int main() {
cin >> n;
dfs(0);
return 0;
}
分享

如果这篇文章对你有帮助,欢迎分享给更多人!

这是一篇测试文章
https://shiliuyinyu.github.io/posts/test01/
作者
ShiLiu_YinYu
发布于
2025-08-08
许可协议
CC BY-NC-SA 4.0

部分信息可能已经过时

目录