3 条题解

  • 0
    @ 2025-2-20 15:54:34

    #include #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>=b&&a>=c) { cout<<a; } else if(b>=a&&b>=c) { cout<<b; } else if(c>=a&&c>=a) { cout<<c; } return 0; }

    • 0
      @ 2024-12-26 22:45:12

      #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,max; cin>>a>>b>>c; if(a>b){ max=a; } else{ max=b; } if(c>max){ max=c; } cout<<max; return 0; }

      • 0
        @ 2024-12-26 22:44:53

        #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,max; cin>>a>>b>>c; if(a>b){ max=a; } else{ max=b; } if(c>max){ max=c; } cout<<max; return 0; }

        • 1

        信息

        ID
        115
        时间
        1000ms
        内存
        256MiB
        难度
        1
        标签
        (无)
        递交数
        106
        已通过
        40
        上传者