1 solutions

  • 0
    @ 2025-3-3 16:34:00

    C++ :

    #include<iostream>
    
    using namespace std;
    
    int main()
    {
    	double x;
    	
    	cin>>x;
    	
    	if(x>=1.3){
    		cout<<120<<endl;
    	}else{
    		cout<<60<<endl;
    	}
    	
    	return 0;
    }
    
    

    Python :

    n = str(input());
    if n < '1.3':
        print(60)
    else:
        print(120)
    
    • 1

    Information

    ID
    10883
    Time
    1000ms
    Memory
    16MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By