Overspeeding Fine Codechef January Long 2022 (Rated for Divs 3 & 4) problem solution

This post is all about the solution of the Overspeeding Fine Codechef January Long 2022 (Rated for Divs 3 & 4) problem solution.


Overspeeding Fine Codechef January Long 2022 (Rated for Divs 3 & 4) problem solution

Codechef 




Problem Statement:

Chef was travelling at XX km/h on the highway.

To avoid accidents, the following fines are imposed for speeding:

There is no fine if the car's speed is less than 7070 km/h.
If the car's speed is strictly greater than 7070 and less than 100100, the fine is Rs 500500.
If the car's speed exceeds 100100, the fine is Rs 20002000.
Determine how much the fine Chef must pay.


Format of Input :

The number of cases will be indicated by a single integer TT in the first line of input.
Each test case's first and only line includes 2 space-separated integers NN and MM — the number of apples and oranges, respectively.


Format of the Output :

For every test case, output YES if the group is perfect and NO or else on a new line.

Each character can be printed in either uppercase or lowercase. The strings YES, yes, Yes, and yES, for example, are all considered identical.


Also Check this out:-


New Upcoming OnePlus 11 Specifications

New Upcoming OnePlus 11 Specifications, Click Here

Solution of the Problem: Click Here