You are viewing a single comment's thread. Return to all comments →
This is what i came up with
All this is possible because of Striver aka Raj Vikramaditya
You can search for him by Take u forward
void bonAppetit(vector<int> bill, int k, int b) { int actual = (accumulate(bill.begin(),bill.end(), 0)-bill[k])/2; (actual<b)? cout<<b-actual:cout<<"Bon Appetit"; }
Bill Division
You are viewing a single comment's thread. Return to all comments →
This is what i came up with
All this is possible because of Striver aka Raj Vikramaditya
You can search for him by Take u forward