2 solutions

  • 1
    @ 2026-10-25 10:39:35
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int a,b,c;
        cin>>a>>b>>c;
        int maxn=0;
        if(a>b && a>c) maxn=a;
        else if(b>a && b>c) maxn=b;
        else maxn=c;
        cout<<maxn;
        return 0;
    }
    

    Information

    ID
    2194
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    # Submissions
    61
    Accepted
    12
    Uploaded By