2 solutions

  • 0
    @ 2024-12-10 17:29:42
    using namespace std; 
    int main()
    {
    	int a,b,c,d; 
    	cin>>a>>b>>c>>d; 
    	if(a>c) 
    	{
    		cout << "\"";
    		cout<<"\\"<<"n";
    		cout << "\"";
    	
    	}
    	else if(b>d) 
    	{
    		cout << "\"";
    		cout <<"\\"<< "t";
    		cout << "\"";	
    	}
    	else if(b<d)
    	{
    		cout << "\"";
    		cout<<"\\"<<"n";
    		cout << "\"";
    	}
    	else
    	{
    		cout << "\"";
    		cout <<"\\"<< "t";
     		cout << "\"";
    	}
    return 0; 
    }
    

    Information

    ID
    690
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    (None)
    # Submissions
    155
    Accepted
    33
    Uploaded By