1 条题解

  • 0
    @ 2025-11-30 16:24:24

    C++ :

    #include <iostream>
    #include <cmath>
    
    using namespace std; // 使用标准命名空间
    
    int main() {
        double base = 3.6;
        double exponent = 4.3;
    
        double result = pow(base, exponent); // 计算 base 的 exponent 次幂
    
        cout << base << " raised to the power of " << exponent << " is " << result << endl;
    
        return 0;
    }
    
    • 1

    信息

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