Hmm. I have good ranking for my problems - i chose option "4. Score is source length" but the "main" ranking is wrong.
Ranking from ZFUN08 is ok, but I'm not sure if it suit, because in ZFUN08 the more points user gains for each problem, the more he will have in ranking and in my contest it is inversely (the shorter code, the more points). Unless it can be changed.
The best option would be ranking, where for each problem user gain points with this formula:
How can I write such a judge? Bacause formula is not complicated, so it seems easy. However I found SPOJ judges:
But I don't know how SPOJ work, so it will be difficult for me to write such a judge. For example I don't know what does library spoj.h.