Thank You Pizza
https://www.hackerrank.com/contests/codenection-2021-open-category-finals/challenges/thank-you-pizza
Last updated
https://www.hackerrank.com/contests/codenection-2021-open-category-finals/challenges/thank-you-pizza
Last updated
Thank you everyone for joining. You all deserve a virtual pizza (because we're too broke to buy real pizzas). We want to make sure all of you get even numbers of pizza slices. We know that the number of participants at this final will be A or B. Help us determine the minimum number of pizza slices we need to order so that the slices can be evenly distributed to everyone in both cases.
A, B
A single integer, the number of slices we need to order.