摘要: #include <iostream>#include <algorithm>using namespace std;const int N = 1000;int n, m;int v[N], w[N];int f[N];int main(){ void fun(); cin >> n >> m; 阅读全文
posted @ 2023-04-16 11:07 梁家豪123 阅读(27) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;int n,m,k;int f(int n, int m) { if (n <= m) return 1; return f(n - m, m) * 2 + 1;}void fun();int main() { cin > 阅读全文
posted @ 2023-04-16 10:48 梁家豪123 阅读(18) 评论(0) 推荐(0)