7 solutions

  • 0
    @ 2025-6-28 13:43:31
    int x,y;
    	cin>>x>>y;
    	int z=3-x-y;
    	if (x==y)
    	{
    		cout<<x;	
    	}
    	else
    	{
    		cout<<z;
    	}
    

    Information

    ID
    2311
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    71
    Accepted
    44
    Uploaded By