Subscribe Us

Responsive Advertisement

Advertisement

URI Online Judge | 1794 | [PJ] Laundry solution in cpp


uri 1794 solution in cpp

by ujjal roy


#include<bits/stdc++.h>

using namespace std;

main()

{

    int n,la,lb,sa,sb;

    cin>>n>>la>>lb>>sa>>sb;

    if((n>=la&&n>=sa)&&(n<=sb&&n<=lb)) cout<<"possivel"<<endl;

    else cout<<"impossivel"<<endl;



    return 0;

}


Post a Comment

0 Comments