codeforces 1313A. Fast Food Restaurant


Problem link

A solution in c++



Post a Comment

1 Comments

  1. Hey can please explain this problem in detail im confused,
    Any inputs I try for your solution every step after updating the ans variable your ans will have the same value as the previous, Im curious why are you trying all combinations if the answer is same and if not can you explain to me what i am missing?
    thank you

    ReplyDelete

If you have any doubts, Please let me know