题解列表

筛选

python-种树(递归)

摘要:解题思路:递归。注意事项:参考代码:def dfs(x,cnt,now):         global n,m,A,vis,ans               if cnt == m:    ……

hhhhhhhhhhhhhhhh谢谢你

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ bool flag = 0; int n; cin >> n; int……

核电站问题

摘要:解题思路:就算是抄袭也要光明正大的抄袭,https://blog.csdn.net/zujiasheng/article/details/80357144?自己看吧!注意事项:参考代码:#includ……

dfs 1117: K-进制数

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int ans; int n, k; void dfs(int x, int cn……

1989: 奇数个数

摘要:用字符串保存起来遍历。#include <bits/stdc++.h> using namespace std; int main(){     string s;     cin >> ……