Codechef Q & A

33 Followers
3.5

Questions & Answers


Recent Questions & Answers on Codechef

Q

Chef get bored of cooking and decided to play a game with his friend. Chef and his friend have two sacks filled with coins. Chef’s bag contains N coins and his friend bag contains M coins. Each coin has a value K written on it. Chef selects a coin from his bag, then chef’s friend selects one coin from his own bag and another coin form his chef’s bag. You are asked to find the maximum product of two coins selected by chef’s friend if both of them play optimally.

Oct 20, 2018

By: uttamn333

1 Answers

500
Q

string a number

Dec 17, 2016

By: astha999bisht

0 Answers

500
×