Café com Leite

Problem Link

Solution by Mr.Olimpia100 pts

Code / Notes

#include <bits/stdc++.h>
using namespace std;

int main(){
    int A, B, C, D;
    cin >> A >> B >> C >> D;
    if((C-D)>=A && (C-D<=B)){
        cout << "S";
    }
    else{
        cout << "N";
    }


}

Last updated 1 week, 1 day ago


« Back to problem