GUPTA MECHANICAL

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

Wednesday, 17 August 2022

[Solution] AI Analysing Code CodeChef Solution



Problem

Chef has recently introduced a feature which allows you to open any user’s submitted code (not just your own), and ask an AI to explain that code in English. and click on "Analyse This Code".

But there is a restriction that the feature works only on codes which are at most 1000 characters long. Given the number of characters, C, in a particular code, output whether the feature is available on this code or not.

Input Format

The only line of input will contain a single integer C, denoting the number of characters in the code.


Solution Click Below:-  👉CLICK HERE👈
👇👇👇👇👇

Output Format

Output a single line which contains either "Yes", if the feature is available on this code, or "No", if not.

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

Explanation:

The code's length is 1001, and 1001 \nleq 1000. So, the feature is not available, and the answer is "No".

No comments:

Post a Comment