TopCoder's unused code rule clarification

Revision en1, by flatline, 2015-12-03 14:17:10

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.

Tags topcoder, unusedcoderule, ucr


  Rev. Lang. By When Δ Comment
en1 English flatline 2015-12-03 14:17:10 716 (published)