Stanislav,

Writing libraries for yourself before the contest is a great idea! Putting
the helper file on the web is an acceptable solution, as long as you put a
link to it in the comments of your code.

Cheers,
Bartholomew


On Wed, Mar 12, 2014 at 7:35 AM, Stanislav Zholnin <
[email protected]> wrote:

> I think some of other contestants did the same:
>
> During course of my preparation to Codejam I prepared several helper-tools
> for participating in competition, which includes:
>
> - small wrapper class which facilitates reads / writes, validation against
> correct answers, running program on several cores, saving and reloading
> preprocessing information (crucial for some problems) and many other nice
> features. It is not perfect, but convenient for me.
>
> - collection of functions / classes / helper tools for specific tasks -
> like my own implementation of Fenwick trees, fast modulo-based factorial,
> some geometrical calculations, fast multiplication and so on.
>
> The problem is that if I include it all in my template file for
> competition - it is getting a little bit to large and difficult to
> navigate. If I show it as a separate file - I lose a few seconds every
> submission, because I need to upload two source files instead of one.
>
> As a workaround I thought that I might probably put this helper file on
> the web and provide link to it in my template. To me it makes sense - I
> don't upload file which is always the same and save time. If somebody wants
> to check my solution - he/she can pull helper file of the web and run it
> together with my file.
>
> a) Is this solution within the rules?
> b) What are other options which you use?
>
> Please don't tell me that I should just write all this stuff of top of my
> head. I know some coders to that, but I am not coding monster :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/2c946187-1729-4ad0-9df9-9f0eaaf22f09%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAHaiWHNKeSM5MUAD4k76VBLuXF_7UB5ONvLatC%3Dtt1jPjXg-kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to