Open In App

Contest Experiences | Educational Codeforces Round #151 (Div. 2)

About the contest:

This contest is normally similar to other Codeforce contests. This website provides a competitive programming contest, not a DSA-specific question asked in an interview round. This contest provided 6 to 7 problems to solve in only 2 hours, from easy to difficult. So good knowledge of DSA mathematical and number theory, then hit all the problems. There are 3 to 4 problems that are asked as easy to medium, but 5 to 7 are more difficult legal problems.



Educational Codeforces Round #151 (Div. 2)

Benefits and Prizes:

Codeforces Educational Rounds usually do not offer physical prizes or monetary rewards. Participants fight for rating points and the comfort of resolving entertaining problems, but your comfort is used in the coding round and interview.

Link to this contest: https://codeforces.com/contest/1845



Overview of the Challenges:

Problems

Number

Problem name

Difficulty Laval

(rating based)

Time taken by me

No.of submition

Verdict

A

Forbidden integer

800

15ms

1

accepted

B

Come Together

900

31ms

1

accepted

C

Strong Password

Not Define

46 ms

3

accepted

D

Rating System

Not Define

0ms

2

Compilation error

E

Boxes and Balls

Not Define

F

Swimmers in the Pool

Not define

A.Forbidden Integer:

That a easy problem so solve only 10 to 15 minat enough this problem.
Input:The first line contains a single integer t (1≤t≤100)—the number of test cases. The only line in each test case contains three integers n, k, and x (1≤x≤k≤n≤100).

Approach:

B. Come Together:

This is a simple to moderate problem. This question breaks fundamental geometric concepts, basic mathematics, and conditional statements to decide the maximum number of containers Bob and Carol can walk together while returning home, utilizing the shortest paths.find all absolute values and return the shortest path.

C.Strong Password:

That moderate problem is a number theory and DSA good knowledge,then hit the problem simply way.Approach:As you repeat through the positions of the password, check if you can find a completely individual number for each position, that is, inside the specified range and not in the identification database. If you can, the answer is “yes”; alternatively, it’s “no.”

D.Rating System:

This is a good problem with good knowledge of constraints, so the idea of an underflow or overflow case in your code implementation is a conflict value, namely, big enough to handle all the rating changes as though the performer’s rating remains at the maximum attainable level after all the matches.

E and F problem not solved me because there diffucult problem no find these problem approach.

Conclusion:

This contest is very concept-related, and good problems help this approach in the online assessment and build up your confidence.


Article Tags :