Which Mixture solution codechef
Chef hasunits of solid and units of liquid. He combines them to create a mixture. What kind of mixture does Chef produce: a solution, a solid, or a liquid?
A mixture is called a:
1) A solution ifand ,
2) A solid if, or
3) A liquid if.
Which Mixture solution codechef – Input Format
- The first line contains denoting the number of test cases. Then the test cases follow.
- Each test case contains two space-separated integers and on a single line.
Which Mixture solution codechef – Output Format
For each test case, output on a single line the type of mixture Chef produces, whether it is a
Liquid. The output is case sensitive.
Which Mixture codechef solution – Constraints
Which Mixture codechef solution – Subtasks
- Subtask 1 (100 points): Original constraints
Sample Input 1
3 10 5 0 3 3 0
Sample Output 1
Solution Liquid Solid
Which Mixture solution codechef – Explanation
Test case: Chef adds both solid and liquid to the mixture, hence the mixture is a solution.
Test case: Chef does not add solid to the mixture, hence the mixture is liquid.
Test case: Chef does not add liquid to the mixture, hence the mixture is solid.