Café com Leite
Problem LinkSolution by TheRealFertos — 100 pts
Code / Notes
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
c-=d;
b-=c;
c-=a;
if (c>=0 and b>=0) {
cout << 'S';
}
else {
cout << 'N';
}
}
Last updated 1 month, 4 weeks ago