Café com Leite

Problem Link

Solution by TioPatinhas100 pts

Code / Notes

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

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

Last updated 1 month, 4 weeks ago


« Back to problem