## GUPTA MECHANICAL

IN THIS WEBSITE I CAN TELL ALL ABOUT TECH. TIPS AND TRICKS APP REVIEWS AND UNBOXINGS ALSO TECH. NEWS .............

## [Solution] Bucket and Water Flow CodeChef Solution | CodeChef Problem Solution 2022

Alice has a bucket of water initially having $W$ litres of water in it. The maximum capacity of the bucket is $X$ liters.

Alice turned on the tap and the water starts flowing into the bucket at a rate of $Y$ litres/hour. She left the tap running for exactly $Z$ hours. Determine whether the bucket has been overflow,

filled exactly, or is still left unfilled.

### Input Format

• The first line of input will contain a single integer $T$, denoting the number of test cases. The
•  description of the test cases follows.

• Each test case consists of a single line of input containing four space-separated integers .

### Output Format

For each test case, print the answer on a new line:

• If the bucket has overflown print overflow
• If it is exactly filled print filled
• If it is still unfilled, print unfilled

You may print each character of the string in uppercase or lowercase (for example, the strings filledFIlledfiLLed, and FILLED will all be treated as identical).

### Constraints

• $1\le T\le 1000$
• $1\le W,X,Y,Z\le 1000$