1 solutions

  • 0
    @ 2025-12-3 11:07:49

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b,c;
    	cin>>a>>b>>c;
    if(c<=b&&c>=a)	
    cout<<"in";
    else
    cout<<"out";		
    	return 0;
    }
    
    • 1

    Information

    ID
    815
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    8
    Tags
    (None)
    # Submissions
    11
    Accepted
    8
    Uploaded By