You probably can draw up a simple script that either: a) makes a valid amalgamation of your solution with your library in terms of source code (like one of the sqlite3 packaging types); b) packages everything you have to submit into a single archive (not sure if submitting an archive conforms the CJ rules). This script can be run in an automated way as a post-build step.
2014-03-12 18:35 GMT+04:00 Stanislav Zholnin <[email protected]>: > 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/CANBUrM_i0diD3fOzCSTx5NffQo0Dw9KD_8-78QtfmdtLB5OLQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
