2 条题解

  • 0
    @ 2025-5-5 17:24:04

    #include<bits/stdc++.h> using namespace std; double h(int i,int j){ if(i0)return 1; else if(i1)return 2j; return 2jh(i-1,j)-2(i-1)*h(i-2,j); } int main() { double n,x; cin>>n>>x; printf("%.2lf",h(n,x)); return 0; }

    • 0
      @ 2025-5-5 17:23:55

      #include<bits/stdc++.h> using namespace std; double h(int i,int j){ if(i0)return 1; else if(i1)return 2j; return 2jh(i-1,j)-2(i-1)*h(i-2,j); } int main() { double n,x; cin>>n>>x; printf("%.2lf",h(n,x)); return 0; } 一定能对,相信我

      • 1

      信息

      ID
      2
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      (无)
      递交数
      99
      已通过
      68
      上传者