1 条题解

  • 1
    @ 2025-4-20 13:20:35
    //#B3700. [语言月赛202301] 九九乘方表
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double n;
        double x;
        cin>>n;
        for(double i=1;i<=n;i++){
            for(double j=1;j<=i;j++){
                x=pow(i,j);
                printf("%.0lf ^ %.0lf = %.0lf ",i,j,x);
            }
            cout<<endl;
        }
        return 0;
    }
    
    • 1

    信息

    ID
    1029
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    递交数
    192
    已通过
    59
    上传者