flatline's blog

By flatline, history, 9 years ago, In English

I have been practicing on TopCoder for some time and have been getting the warning about my code having more than "30% unused code".

I wanted to know a few things:

  1. Will I be penalized if I submit my code with more than the said amount of unused code? If yes what will be the penalty?

  2. In my case I was getting the warning because my template is a little long (35 lines in this case). But what exactly is wrong with having that big a template? Will I be penalized if I exceeded the Unused Code Limit because of my template?

I went through the TopCoder forums but couldn't get a definite answer to these questions, hence posting here.

Thanks in advance.

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it

By flatline, history, 9 years ago, In English

Coding Calendar

Check Upcoming and Active Contests

Hi there! I made an online version of Coder Calendar. Site.

You will be able to see upcoming contests as well as active contests on sites like CodeChef, HackerRank, HackerEarth, Codeforces and TopCoder.

I made it keeping in mind that one might need to check schedule of contests on devices that don't have the required app/extension installed. The site looks good on mobile devices as well.

I hope it will be of use to you!

You can use the site like so:

Codeforces

TopCoder

All Upcoming Contests

Full text and comments »

  • Vote: I like it
  • +20
  • Vote: I do not like it