Concert Tickets
Problem LinkSolution by SaoriKido — notes only
Code / Notes
int main() {
int x,y,z;
cin >> x >> y >> z;
int a= y-z;
if(a>=x){
cout << "Y " << a-x;
} else{
cout << "N";
}
}
Last updated 16 hours, 20 minutes ago