← 返回 bytedance 的题目列表Soup Servings
类型:online_judge
Given two integers N and M, representing initial amounts of two types of soup. You have 4 types of operations, where each serves different amounts from each type of soup. Calculate the probability that soup A will be completely served out.
Example
Input
50 50