### hmehta's blog

By hmehta, history, 5 days ago, ,

Topcoder MM 118 - DanceFloor is now live!

Problem Setterwleite

Problem Overview:
You and your friends decided to have some fun and went to a night club where there is a nice dance floor, made of colour LED tiles.
Each time a person steps on a dance floor tile, that tile changes its colour.
For the first song of the night, your group will try to make an impressive performance, following a pre-determined choreography and leaving, in the end, the dance floor as "pretty" as possible.

Here is an example solution for seed = 7. The white arrows indicate the next choreography position for each dancer.

Hope to see most of you compete! All the best!

• +12

By hmehta, history, 11 days ago, ,

Topcoder SRM 786 is scheduled to start at 11:00 UTC -4, May 15, 2020. Registration is now open for the SRM in the Arena or Applet and will close at 10:55 AM, so make sure that you are all ready to go. Please note that the coding phase will begin at 11:05 AM UTC -4 but the registration will still close at 10:55 AM UTC -4.

Thanks to jeel_vaishnav and vivek1998299 for writing the problem set. Also thanks to misof for testing and coordinating the round.

This is the fourth SRM of Stage 3 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +22

By hmehta, history, 12 days ago, ,

Hi All,

misof is hosting a webinar on Dynamic Programmin today. Register for the webinar now.

The webinar has an admission limit, thus we will also be streaming live on Youtube too: https://www.youtube.com/channel/UCFv29ANLT2FQmtvS9DRixNA

The webinar will be followed by a practice contest to allow you to flex your nerves. Read this tutorial and get ready. The contest will consist of 10 Topcoder Problems which featured in past contests and will be open for 23 hours. You can submit whenever you feel like during the time frame.

Registration is now open for the Practice Contest in the Arena or Applet and will close 5 minutes before the match begins, so make sure that you are all ready to go. Click here to what time it starts in your area.

Dynamic Programming WebinarMay 14, 2020 10:00 UTC-4

Dynamic Programming Practice ContestMay 14, 2020 11:00 UTC-4

Please make sure you register for the contest 5 mins before the start time. Once the contest begins you won't be able to register.

After the contest ends we will be publishing an editorial for the problem set and also make the contest available in practice rooms.

Happy Learning and Practising :)

• +69

By hmehta, history, 2 weeks ago, ,

Hey All!

Topcoder SRM 785 is scheduled to start at 12:00 UTC -4, May 09, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to espr1t for writing the problem set and misof for testing and coordinating the round.

This is the third SRM of Stage 3 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +58

By hmehta, history, 4 weeks ago, ,

The second attempt of the first Online Round of the 2020 Topcoder Open Algorithm Competition has arrived! Round 1B will be held on Tuesday April 28, 2020 at 07:00 UTC -4.

Did you win an
Automatic Berth* a.k.a Bye* for Round 1 or
Qualified to Round 4 from Online Stages 1 and 2 or
Advanced to Round 2 from Round 1A?
We have a parallel rated round for you all!

How many will qualify?
The 750 highest scorers from each Round 1 will win a spot in Round 2 of the Algorithm Competition.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +54

By hmehta, history, 5 weeks ago, ,

Hey All!

Topcoder SRM 784 is scheduled to start at 11:00 UTC -4, April 24, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to Witaliy, lazy_fox and misof for writing the problem set and coordinating the round. Also thanks to a.poorakhavan for writing the editorials.

This is the second SRM of Stage 3 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +47

By hmehta, history, 5 weeks ago, ,

Topcoder MM 117 -  **RotatingNumbers** is now live!

Problem Testers: JacoCronje, kphmdKaasanErinnparanoia and wleite

Problem Statement:
Given an NxN grid of numbers, your task is to move the numbers to their target locations. A number n at row r and column c (both 0-based) is in its target location if n = r*N + c + 1. A move consists of selecting a square subgrid and rotating all its numbers by 90 degrees clockwise or counterclockwise. Rotating a subgrid of size S (2 <= S <= N) incurs a penalty of floor((S-1)^1.5). A number that does not finish in its target location is penalized by P*dist, where P is a weighting input parameter and dist is the Manhattan distance to its target location. Your task is to minimize the total penalty.

Here is an example solution for seed=1 and N\=4. The subgrid currently being rotated is highlighted in blue for clockwise rotations and in red for counterclockwise rotations. The cells are painted green based on how close their number is to the target location.

Register Now!

Best of luck!
- the Topcoder Team

• +16

By hmehta, history, 6 weeks ago, ,

The first Algorithm Competition Online Round of the 2020 Topcoder Open has arrived! Round 1A will be held on Saturday April 18, 2020 at 12:00 UTC -4.

Did you win an _Automatic Berth a.k.a Bye_ for Round 1?
Check out the members who won an automatic berth to Round 2 here. CORRECTED and UPDATED

How many will qualify?
The 750 highest scorers from each Round 1 will win a spot in Round 2 of the Algorithm Competition.

How to Compete?
Please note that you must register for this round in the Arena or Applet. Registration is open for the round and closes at 11:55 UTC -4. Be sure you register early to guarantee your spot in the round as registration is limited to the first 2,500 competitors. Please take a look at our How to Compete guide to understanding Topcoder Algorithm contests better.

Don't forget! There will be one more Round 1 — Round 1B on Tuesday, April 28, 2020 at 07:00 UTC -4.

New to Topcoder and the TCO20? The Algorithm Competition is one of the most fierce and popular tournaments. Battle up against some of the biggest names in coding.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Best of luck to you in the Arena!

• +19

By hmehta, history, 6 weeks ago, ,

Hey All!

Topcoder SRM 783 is scheduled to start at 12:00 UTC -4, April 11, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to lg5293 and misof for writing the problem set and coordinating the round. Also thanks to a.poorakhavan for writing the editorials.

This is the first SRM of Stage 3 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +43

By hmehta, history, 2 months ago, ,

Hey All!

Topcoder SRM 782 is scheduled to start at 12:00 UTC -4, Mar 28, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to jy_25 and misof for writing the problem set and coordinating the round. Also thanks to Chandnani and a.poorakhavan for testing and writing the editorials respectively.

This is the last SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +33

By hmehta, history, 2 months ago, ,

Hey All!

Topcoder SRM 781 is scheduled to start at 21:00 UTC -4, Mar 19, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to sinus_070 and misof for writing the problem set and coordinating the round. Also thanks to a.poorakhavan for testing and writing the editorials.

This is the eight SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +14

By hmehta, history, 3 months ago, ,

Hey All!

Topcoder SRM 780 is scheduled to start at 12:00 UTC -5, Mar 7, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to misof for writing the problem set and coordinating the round.

This is the seventh SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +49

By hmehta, history, 3 months ago, ,

Topcoder and the Indian Institute of Information Technology (IIIT) Allahabad are excited to bring back the fourth edition of Humblefool Cup Algorithm Match in fond memory of Harsha Suryanarayana humblefoolLearn More

Harsha is considered to be the best coder India has ever produced. A Topcoder member since 2005, humblefool – as he is known within the coding community – was a TCO Finalist twice. Up until his tragic death in an accident in 2014, Humblefool was at the top of his game in SRMs and personally trained and motivated many other members.

The Humblefool Cup is organized every year to preserve his legacy and contribution to the Community.

2020 Humblefool Cup Prelims is scheduled to start at 12:00 UTC-5 on March 4, 2020.

Registration is now open for the SRM in the Arena or Applet and will close 5 minutes before the match begins, so make sure that you are all ready to go. Click here to what time it starts in your area.

Problem Setters:  misof and timmac

Prizes:

• The top 30 students located in India will be invited to compete onsite at Indian Institute of Information Technology, Allahabad for $500 in prizes. • The best-ranked _student_ in the qualifying round (_not located in India_) will be awarded$100 prize money.

Please Note: This round is rated and is open to all. However, only students are eligible for the prizes.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +51

By hmehta, history, 3 months ago, ,

Hey All!

Topcoder SRM 779 is scheduled to start at 11:00 UTC -5, Feb 21, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to misof and lazy_fox (CF:mridul1809) for writing the problems and coordinating the round.

This is the sixth SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +3

By hmehta, history, 3 months ago, ,

Hey All!

Topcoder SRM 778 is scheduled to start at 12:00 UTC -5, Feb 15, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to jy_25 for writing the problems. Also thanks to a.poorakhavan and misof for testing the problem set and coordinating the round.

This is the fifth SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +16

By hmehta, history, 4 months ago, ,

Topcoder MM 115 is now live.

Problem: GraphReconstruction

Want to practice?
To understand what kind of problems do Marathon Matches have and to get the feel of a Topcoder Marathon Match you can visit the practice rooms and participate in the Marathon Matches previously hosted on Topcoder.

Best of luck!!

• 0

By hmehta, history, 4 months ago, ,

Hey All!

Topcoder SRM 777 is scheduled to start at 11:00 UTC -5, Feb 03, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Prizes — Top 2 members on the Div I leaderboard will be awarded $777 each. Thanks to Witaliy for writing the problems. Also thanks to misof and lg5293 for testing the problem set and coordinating the round. This is the fourth SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification Update: Congratulations to the brothers! — neal and scott_wu for winning$777 each!

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +44

By hmehta, history, 4 months ago, ,

Hey All!

Topcoder SRM 776 is scheduled to start at 07:00 UTC -5, Jan 25, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks misof for writing the problems and coordinating the round.

This is the third SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +51

By hmehta, history, 4 months ago, ,

Topcoder MM 114 is scheduled to start at 21:00 UTC -5 on Jan 22, 2020. To find out what time this Marathon Match starts in your local time zone, click here

How to compete?
In order to compete in a Topcoder Marathon Match, you will need to click the Register button next to the appropriate Marathon Match within the Active Contests list and agree to the rules of the event.

Want to Practice?
To understand what kind of problems do Marathon Matches have and to get the feel of a Topcoder Marathon Match you can visit the practice rooms and participate in the Marathon Matches previously hosted on Topcoder.

Best of luck!!

• +12

By hmehta, history, 4 months ago, ,

Hey All!

Topcoder SRM 775 is scheduled to start at 11:00 UTC -5, Jan 16, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks misof for writing the problems and coordinating the round.

This is the second SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +27

By hmehta, history, 4 months ago, ,

Hey All!

Topcoder SRM 774 is scheduled to start at 12:00 UTC -5, Jan 11, 2020. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to lg5293 and misof for writing the problems and coordinating the round.

This is the first SRM of Stage 2 of TCO20 Algorithm Tournament and TCO20 Regional Events Qualification

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +43

By hmehta, history, 5 months ago, ,

Hey Everyone! Below is the schedule of Topcoder Rounds scheduled for Jan-March 2020. These rounds will help you earn points for Stage 2 of TCO20 and also help qualify for TCO20 Regional Events.

SRMs

Marathon Match

SRMs

Marathon Match

#### March

SRMs

Marathon Match

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

• +58

By hmehta, history, 5 months ago, ,

Hey All!

Topcoder SRM 773 is scheduled to start at 12:00 UTC -5, Dec 21, 2019. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to misof for writing the problems and coordinating the round.

This is the last SRM of Stage 1 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!

• +14

By hmehta, history, 5 months ago, ,

Topcoder MM 113 is scheduled to start at 21:00 UTC -5 on Dec 16, 2019. Register Now!

How to compete? In order to compete in a Topcoder Marathon Match, you will need to click the Register button next to the appropriate Marathon Match within the Active Contests list and agree to the rules of the event.

Want to Practice? To understand what kind of problems do Marathon Matches have and to get the feel of a Topcoder Marathon Match you can visit the practice rooms and participate in the Marathon Matches previously hosted on Topcoder.

Best of luck!

• +6

By hmehta, history, 5 months ago, ,

Hey All!

Topcoder SRM 772 is scheduled to start at 07:00 UTC -5, Dec 11, 2019. Registration is now open in the Web Arena or Applet and will close 5 minutes before the match begins.

Thanks to abdullahkool768 and vivek1998299 for writing the problems for the round. Also thanks to misof and adamant for coordinating and testing the round.

This is the fifth SRM of Stage 1 of TCO20 Algorithm Tournament.

Match Results (To access match results, rating changes, challenges, failure test cases)
Problem Archive (Top access previous problems with their categories and success rates)
Problem Writing (To access everything related to problem writing at Topcoder)
Algorithm Rankings (To access Algorithm Rankings)
Editorials (To access recent Editorials)

Good luck to everyone!