Doubt Support Availability

On the CodeChef Practice page, problems with difficulty ≤1600≤1600 now have Doubt Support — you can go to the problem page and get your queries answered by an experienced CodeChef Doubt Solver through the “Doubt Support” tab.

Given the difficulty of a problem, output whether this problem has Doubt Support or not.

Input Format

The input consists of a single integer, DD, which is the difficulty of the problem.

Output Format

Output Yes if the problem has Doubt Support, or No if it doesn’t.

Each letter of the output may be printed in either lowercase or uppercase. For example, the strings yesYeS, and YES will all be treated as equivalent.

Constraints

  • 1≤D≤5000
//This code is written by Souvik Ghosh
import java.util.*;             
public class doubtSupport {
    public static void main(String[] args) {
        //copy from here for codechef
        Scanner sc = new Scanner(System.in);
        int d=sc.nextInt();
        if(d<=1600){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }
}

Related Posts

CSS Cheatsheet

Transform your web design game with my CSS cheatsheet! Master the art of styling, dive into essential properties and selectors, and create visually stunning websites effortlessly. Whether…

HTML Cheatsheet

Unleash your web development potential with my HTML cheatsheet! Elevate your coding skills, master essential tags and attributes, and build stunning websites with ease. Whether you’re a…

Git&GitHub Cheatsheet

Elevate your Git and GitHub game with my ultimate cheatsheet! Unlock the power of version control, streamline collaboration, and boost productivity. Navigate the complexities of Git commands…

Command Line Cheatsheet

Master the Command Line effortlessly with my comprehensive cheatsheet! Streamline your workflow, boost productivity, and become a command line guru. Unlock essential commands, shortcuts, and tips to…

OpenAI’s APIs Notes

Unlock the potential of OpenAI’s APIs with my comprehensive notes! Dive into the world of cutting-edge artificial intelligence, explore the capabilities of GPT-4 and beyond, and learn…

SQL Notes

Discover the essence of SQL with my comprehensive notes! Dive into the world of Structured Query Language, unraveling the complexities, and mastering database management. Elevate your SQL…

Leave a Reply

Your email address will not be published. Required fields are marked *