Open In App

Contest Experiences | Codeforces Round: #883 (Div. 3)

Last Updated : 09 Nov, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

ABOUT THE CONTEST:

  • In this Contest, there are a total of 7 problems and 2 hours are given to you to solve this problem.
  • For each wrong submission, there was a 10-minute extra penalty.

Link of the Contest: https://codeforces.com/contest/1846

My Experience:

I was able to solve 5 problems out of 7 problems in these contests.

OVERVIEW OF ALL CONTEST PROBLEM:

Problem Name

Difficulty

Approx. time to solve

Number of submissions by me

A . Rudolph and Cut the Rope

Easy-Medium

8-10

1

B. Rudolph and Tic-Tac-Toe

Easy-Medium

8-10

1

C. Rudolf and the Another Competition

Easy-Medium

15-20

1

D. Rudolph and Christmas Tree

Easy-Medium

15-20

1

E1. Rudolf and Snowflakes (simple version)

Medium-Hard

15-20

2

Rudolf and Snowflakes (hard version)

Hard

Rudolph and Mimic

Hard

Rudolf and CodeVid-23

Hard

LET’S DISCUSS THE QUESTIONS:

Problem A – Rudolph and Cut the Rope

In this problem we takes pairs of integers as input and counts how many times the first integer in each pair is greater than the second one. It does this for multiple test cases specified in the input and prints the count for each test case.

Problem B- Rudolph and Tic-Tac-Toe

To solve this for each test case: Read the 3×3 grid. Check rows, columns, and diagonals for winning combinations for ‘X’, ‘O’, and ‘+’. If any player (‘X’ or ‘O’ or ‘+’) has a winning combination, print that player’s symbol (‘X’, ‘O’, or ‘+’). If no player has a winning combination, print “DRAW”.

Problem C- Rudolf and the Another Competition

To solve this for each test case: Calculate the time it takes for each participant to solve each problem. Sort the problems for each participant based on time taken to solve them. Find the maximum number of problems Rudolf can solve within the given time. If there are ties in points and penalties, Rudolf’s position will be the best among those with the same score and penalty.

Problem D – Rudolph and Christmas Tree

To calculate the total area of the tree branches, we can use the following approach: For each branch, calculate the area of the triangle using the formula: Area =1/2 × base × height. The total area is the sum of the areas of all the triangles representing the branches.

Problem E1- Rudolf and Snowflakes (simple version)

To solve this for 1 or 2 vertices, a snowflake cannot be constructed according to the rules provided. For any other number of vertices: If the number is divisible by 3, a snowflake can be constructed based on the rules of snowflake formation. If the number is not divisible by 3, a snowflake cannot be constructed.

Conclusion:

At the end I was able to solve 5 problem out of 7 problem. For me last problems, I require more time to solve this last questions.
All the best for upcoming contest.
Thank You !!!


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads