PROBLEM LINK:
Author: Soham Chakrabarti
Tester: Soham Chakrabarti
DIFFICULTY:
Cakewalk
PREREQUISITES:
Math
PROBLEM:
You have been provided with A balls and B people. Divide the ball, such that each of one gets the same number of balls. If possible, display the number of balls each gets, else display “cannot distribute”.
EXPLANATION:
Check for two conditions:
If these two conditions satisfy, print (A / B), else print(“cannot distribute”)
AUTHOR’S AND TESTER’S SOLUTIONS:
Author’s and Tester’s solution can be found
Link