Chef Plays Ludo Codechef Starters 73 (Rated till 6-Stars) problem solution

This post is all about the solution of the Chef Plays Ludo Codechef Starters 73 (Rated till 6-Stars) problem solution.


Chef Plays Ludo Codechef Starters 73 (Rated till 6-Stars) problem solution

Codechef 




Problem Statement:

Chef is taking on the role of Ludo. According to the Ludo rules, a player can only add a new token to the game if he rolls a 66 on the die.

Chef rolled the number XX on the die during his current turn. Determine whether Chef can add a new token to the game during the current turn.

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:-

Chef Plays Ludo Codechef Starters 73 (Rated till 6-Stars) problem solution, Click Here
Multivitamin Tablets Codechef Starters 73 (Rated till 6-Stars) problem solution, Click Here
Lucky Numbers Codechef Starters 73 (Rated till 6-Stars) problem solution, Click Here
Append for OR Codechef Starters 73 (Rated till 6-Stars) problem solution, Click Here
Consecutive Xor Codechef Starters 73 (Rated till 6-Stars) problem solution, Click Here
New Upcoming OnePlus 11 Specifications

New Upcoming OnePlus 11 Specifications, Click Here

Solution of the Problem: Click Here