-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPRACLIST.java
More file actions
27 lines (21 loc) · 1.05 KB
/
PRACLIST.java
File metadata and controls
27 lines (21 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Problem
CodeChef recently revamped its practice page to make it easier for users to identify the next problems they should solve by introducing some new features:
Recent Contest Problems - contains only problems from the last 2 contests
Separate Un-Attempted, Attempted, and All tabs
Problem Difficulty Rating - the Recommended dropdown menu has various difficulty ranges so that you can attempt the problems most suited to your experience
Popular Topics and Tags
Our Chef is currently practicing on CodeChef and is a beginner. The count of ‘All Problems’ in the Beginner section is XXX. Our Chef has already ‘Attempted’ YYY problems among them. How many problems are yet ‘Un-attempted’?*/
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner (System.in);
int x=sc.nextInt();
int y=sc.nextInt();
System.out.println(x-y);
}
}