CodeChef May Long Challenge 2020 (Div 2) Solutions

This is my first Medium story.

This was really a tough competitive long challenge, the quality of questions as compared to April long challenge was moderate-to-tough. In Codechef May long challenge 2020 my global rank was 4301. This competition was so special to me, I became a 3-star coder on Codechef !!!. In this challenge, I got my best global rank so far. I solved 2 full problems ( All Correct ) and 2 partially correct. You can see my solutions and approaches in this article. Any issues or queries will be welcomed. Hope this helps :D . For those who don’t know about CodeChef and its competitions, have a look below!!

What is CodeChef?

CodeChef: A Platform for Aspiring Programmers

CodeChef was created as a platform to help programmers make it big in the world of algorithms, computer programming, and programming contests. At CodeChef, we work hard to revive the geek in you by hosting a programming contest at the start of the month and another smaller programming challenge in the middle of the month.

About CodeChef Long Challenge:

CodeChef Long Challenge is a 10-day monthly coding contest where you can show off your computer programming skills. The significance being — it gives you enough time to think about a problem, try different ways of attacking the problem, read the concepts, etc. If you’re usually slow at solving problems and have ample time at hand, this is ideal for you. We also put in a lot of effort in getting quality problems, which would, in turn, foster your learning while solving them.

Contest Details:

  • Duration: 10 Days, from 1st May 1500 hrs IST to 11th May 1500 hrs IST.

You can find the competition link here ( Div 2 )

Problem 1: COVID19

Problem link

I solved this question completely and got 100 points ( All Correct )

Solution in Python 3 :

Problem 2: CORUS

Problem link

I solved this question completely and got 100 points ( All Correct )

Solution in Python 3 :

Problem 3: CHANDF

Problem link

I solved this question partially and got 15 points.

Solution in Python 3 :

Problem 4: SORTVS

Problem link

I solved this question partially and got 20 points.

Solution in Python 3 :

I hope you have understood the solutions. Any queries will be welcomed. Please clap or leave a comment because that gives me a boost to write more such content. Thanks for reading !!!