May 18

Top Coder Arena – How to run System Tests



TopCoder is a great platform with a huge set of programming problems ready to challenge you. However, if you look at a problem and you only validate it using the examples provided in the description you are not doing it right. In fact, when you compete, you get zero point even if a single test of TopCoder system tests fail. Yeah, it’s that brutal! Your algorithm is right or not, there are no shade of grays. For this reason, it is vital to run the system tests!

So the question is…

How do I run the system tests?

Run the arena, login, enter a practice room and submit one or more problems.

Click Practice Options and than click Run System Test.

Run System Tests

The system tests run and a window will show the results. If your solution is not correct, you will see a set of tests with the input (args), the expected value and the actual value (received). In this way, you know exactly what is not working and you can rework your algorithm.

2016-05-18 20_27_36-Settings

When all the tests are green, you can say your algorithm is correct!

2016-05-18 20_32_30-Settings

Happy coding 🙂



You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Subscribe to our newsletter now!

Get instant access to the Master C# 9 webinar to learn all the new exciting C# 9 features quickly.
Get regular videos and news on C# and .NET and offers on products and services to master C#.

We will collect, use and protect your data in accordance with our Privacy Policy.