1 条题解

  • 1
    @ 2026-5-21 19:31:26

    #include <bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; long long y=pow(a,b),s=pow(b,a); if(y>s){ cout<<"first"; }
    else if(y<s){ cout<<"second"; } else{ cout<<"same"; } return 0; }

    信息

    ID
    8356
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    递交数
    31
    已通过
    15
    上传者