[Solution] How many unattempted problems CodeChef Solution | CodeChef Problem Solution 2022
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
Solution Click:- CLICK HERE
Our Chef is currently practicing on CodeChef and is a beginner. The count of ‘All Problems’ in the Beginner section is . Our Chef has already ‘Attempted’ problems among them. How many problems are yet ‘Un-attempted’?
Input Format
- The first and only line of input contains two space-separated integers and — the count of 'All
- problems' in the Beginner's section and the count of Chef's 'Attempted' problems, respectively.
Solution Click:- CLICK HERE
Output Format
Output a single integer in a single line — the number of problems that are yet 'Un-attempted'
Constraints
Subtasks
- Subtask 1 (100 points):
- Original constraints.
Solution Click:- CLICK HERE
No comments:
Post a Comment