Café com Leite
Problem LinkSolution by augusto — 100 pts
Code / Notes
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int leite = C - D;
if (leite >= A and leite <= B) {
cout << "S" << endl;
} else {
cout << "N" << endl;
}
}
Last updated 1 month, 4 weeks ago