GUPTA MECHANICAL

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

Wednesday, 11 May 2022

[Solution] Get Subscription CodeChef Solution | CodeChef Problem Solution 2022

Chef wants to conduct a lecture for which he needs to set up an online meeting of exactly X minutes.

The meeting platform supports a meeting of maximum 30 minutes without subscription and a meeting of unlimited duration with subscription.

Determine whether Chef needs to take a subscription or not for setting up the meet.

Solution Click Below:-  CLICK HERE

Input Format

  • First line will contain T, the number of test cases. Then the test cases follow.
  • Each test case contains a single integer X - denoting the duration of the lecture.







Output Format

For each test case, print in a single line, YES if Chef needs to take the subscription, otherwise print NO.

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


Join Now for Solution:- 

No comments:

Post a Comment