3 solutions

  • 2
    @ 2024-3-5 0:18:56

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

    • 2
      @ 2023-12-11 15:15:14
      1. #include <bits/stdc++.h>
      2. using namespace std;
      3. int main() {
      4. int a,b,c,d,ans;
      5. cin>>a>>b>>c>>d;
      6. d=max(a,b);
      7. ans=max(d,c);
      8. cout<<ans;
      9. }
      • 0
        @ 2024-4-1 11:20:41

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

        • 1

        Information

        ID
        6864
        Time
        1000ms
        Memory
        128MiB
        Difficulty
        1
        Tags
        # Submissions
        95
        Accepted
        46
        Uploaded By