-
个人简介
要....❤️变成...❤️ 筛子了~❤️ `#include<bits/stdc++.h> using namespace std; int n,m; int arr[1005]; void dfs(int x){ if(x>n){ for(int i=1;i<=n;i++){ cout << arr[i]; } cout << "\n"; return; } for(int i=1;i<=m;i++){ arr[x] = i; dfs(x+1); } } int main(){ cin >> m >> n; dfs(1); return 0; }``
-
通过的题目
-
最近活动
This person is lazy and didn't join any contests or homework.
题目标签
- 初窥门径
- 24
- 顺序结构
- 21
- 循环嵌套
- 11
- GESP三级
- 6
- 循环结构
- 5
- 略有小成
- 3
- GESP二级
- 3
- GESP
- 3
- 驾轻就熟
- 2
- 字符串
- 2
- 搜索
- 2
- 枚举
- 2
- while循环
- 1
- 模拟
- 1
- 融会贯通
- 1
- 电子学会一级
- 1
- 一本通编程启蒙
- 1
- 计数排序
- 1
- 进制转换
- 1