I had a question regarding publicly available code. I was wondering if it's okay to copy and paste code found online (without explicitly specified licence terms - more specifically, in answers to pre-existing Stack Overflow posts) and incorporate it into my solution.
It has happened multiple times that I found the exact bit of code that I needed, but I decided to re-implement the algorithm from scratch anyway, because I'm unsure how the Code Jam rules apply to such cases. The most recent example was in CJ 2019, Round 2, Problem #3, where a nontrivial part of the problem is finding the simplest fraction in an open interval - ably answered by David Eisenstat in this thread: https://stackoverflow.com/questions/38140872/find-the-simplest-rational-number-between-two-given-rational-numbers I'm guessing I wasn't the only competitor who found this answer and wondered if the code may be re-used. -- 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/f80a6b86-4aa6-4969-9902-62ad5c0d24f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
