Solid or Liquid
CodeChefOpen on judge ↗
Given **A** units of solid and **B** units of liquid , Both are combined to form a mixture A mixture is called : * Solution if **A** > 0 and **B** > 0 * Solid if **B = 0** * Liquid if **A = 0** Output whether the given mixture is Solid, Liquid or Solution ### Input * The first line contains *T* denoting the number of test cases. Then the test cases follow. * Each test case contains two space-s
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start