top1编程
← 返回题目
题解

门票

1 条题解

  • 0
    @ 2026-7-28 22:44:54
    #include<iostream>
    
    using namespace std;
    
    int main()
    {
    	double x;
    	
    	cin>>x;
    	
    	if(x>=1.3){
    		cout<<120<<endl;
    	}else{
    		cout<<60<<endl;
    	}
    	
    	return 0;
    }
    
    • 1