3 solutions

  • 0
    @ 2026-6-6 16:15:34
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b,c;cin>>a>>b>>c;
    	if (b>a)
    	{
    		if (b>c&&c>=a) cout<<"Yes";
    		else cout<<"No";
    	}
    	else
    	{
    		if (c>=a||c<b) cout<<"Yes";
    		else cout<<"No";
    	}
    	return 0;
    }
    
    
    • -1
      @ 2025-3-16 15:49:39
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b,c;cin>>a>>b>>c;
      	if (b>a)
      	{
      		if (b>c&&c>=a) cout<<"Yes";
      		else cout<<"No";
      	}
      	else
      	{
      		if (c>=a||c<b) cout<<"Yes";
      		else cout<<"No";
      	}
      	return 0;
      }
      
      • -16
        @ 2025-3-2 15:13:24
        cout<<菜就多练,看个锤子的题解!!!!!;
        
        • @ 2025-8-20 19:18:10

          666

        • @ 2025-10-18 19:37:34

          so before your saying,why do you open the ans?
          !! !! _ _ _____

      • 1

      Information

      ID
      2316
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      222
      Accepted
      66
      Uploaded By