3 solutions

  • 0
    @ 2025-3-12 19:59:09
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
    	double a,b,c;
    	cin>>a>>b>>c;
    	if(a<b)
    	{
    		double n=a;
    		a=b;
    		b=n;
    	}
    	if(a<c)
    	{
    		double n=a;
    		a=c;
    		c=n;
    	}
    	cout<<a;
    	return 0; 
    }
    

    Information

    ID
    14
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    192
    Accepted
    69
    Uploaded By