MikeMirzayanov's blog

By MikeMirzayanov, 4 years ago, translation, In English,

With the help of some experienced and respected members of the community (thanks!) there was formulated a rule that allows a third party code to be used under certain conditions. Please read carefully the text.

The following text will go as part of a renewed competition rules. The closest contest will be held already on the updated rules. Thus, there are about two days for further details, if something is unclear.

Solutions and test generators can only use source code completely written by you, with the following two exceptions:

  1. the code was written and published/distributed before the start of the round,
  2. the code is generated using tools that were written and published/distributed before the start of the round.

Any usage of third-party code should not violate the right holder’s license or copyright. Remember that published code is not always free to use! At the request of the right holder, any code that violates the license or copyright may be considered as violating the rules.

All the changes in the code from exceptions 1) and/or 2) must be made solely by you.

If there are any doubts about the time of publication, possible collaboration etc., a participant will have to prove his/her complete innocence by presenting compelling and satisfactory evidence.

Currently, the only reliable proof is the presence of code on the Internet and the presence of the used edition in the cache of well-known search engines.

For example, this rule accepts the use of the code from the website http://e-maxx.ru/ if the code was written and published/distributed before the start of the round. With the help of search engine caches, it can be easily shown that such code doesn't violate the rules. Similarly, it is permissible to use the code from a book/article that was published before the contest. On the other hand, using team reference code (for example, prepared for ACM-ICPC World Finals) is not allowed if there is no reliable and objective way to prove that the code was written before the contest.

This rule doesn't loosen the rules about prohibiting of communication, discussion, or any other form of communication between the contestants on any topics about the problems during the round.

 
 
 
 
  • Vote: I like it  
  • +111
  • Vote: I do not like it  

»
4 years ago, # |
Rev. 2   Vote: I like it +49 Vote: I do not like it

Sorry if this is already answered in the text above, I'm not quite sure.

In a number of contest websites (including TopCoder and here on Codeforces), after a contest finishes, the source code for each submission is viewable by any member. Is this considered "published/distributed" code? (e.g. does this rule mean that all contestants can use past submissions of every other contestant?)

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Same question for code snippets published on codeforces.com/blog/

  • »
    »
    4 years ago, # ^ |
      Vote: I like it -11 Vote: I do not like it

    Generally speaking, no, authors do not have obligation to release their code into public domain, they only provide unexclusive license for TopCoder

»
10 months ago, # |
  Vote: I like it -14 Vote: I do not like it

Currently, the only reliable proof is the presence of code on the Internet and the presence of the used edition in the cache of well-known search engines.

Do I understand it right? Presence in cache of well-known search engines is mandatory for a proof to be considered reliable, isn't it?

What about the Wayback Machine (archive.org)?
Is it reliable enough?

  • »
    »
    4 weeks ago, # ^ |
    Rev. 2   Vote: I like it -31 Vote: I do not like it

    It is not polite
    (and does not serve well to the community)
    to downvote a comment without any useful reply.

    • »
      »
      »
      4 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      As we can see, anonymity of the voting system encourages coward and irresponsible behaviour of the voters.

      • »
        »
        »
        »
        4 weeks ago, # ^ |
          Vote: I like it +16 Vote: I do not like it

        What exactly is cowardly about downvoting you?

        • »
          »
          »
          »
          »
          4 weeks ago, # ^ |
          Rev. 2   Vote: I like it -23 Vote: I do not like it

          Downvoting with explanation is supportive and responsible
          (but yes, it is risky because your explanation comment can be downvoted itself).

          Downvoting with no useful explanation is just harming another person's contribution score without taking any responsibility or risks for that.

          That's why I call the latter behaviour coward and irresponsible.

          • »
            »
            »
            »
            »
            »
            4 weeks ago, # ^ |
              Vote: I like it +6 Vote: I do not like it

            Okay so this is just arguing for the sake of it, but...

            1. Contribution score doesn't matter.
            2. "Coward" means one is afraid to take a risk. While indeed downvoting doesn't take any risks, people don't downvote comments because they are afraid of taking risks. People downvote comments because they are wrong, offensive or just plain garbage.
            • »
              »
              »
              »
              »
              »
              »
              4 weeks ago, # ^ |
              Rev. 2   Vote: I like it +3 Vote: I do not like it

              Then why not to explain the reason of downvoting in a couple of words?

              Otherwise, how an author (of a downvoted message) is expected to learn what exactly is "wrong, offensive or [inappropriate]" about his/her comments and why it is considered wrong?

              (I think the practice of explained downvotes would significantly decrease the total number of "wrong, offensive or just plain garbage" comments because their authors had a chance to learn community rules faster: what is considered bad in this specific community, and why.)

              I understand that there are obvious cases (such as offensive comments) where explanation is not needed. But in this specific case it was not obvious (and it is still not obvious). Not for me, at least.

            • »
              »
              »
              »
              »
              »
              »
              4 weeks ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              "Coward" means one is afraid to take a risk.

              Agree.

              And this actually does not cover ones who are not afraid to take the risks but just too lazy busy to explain themselves.
              On the other hand, I would not call such behaviour responsible (giving to the community is important, just taking from it is not good).

        • »
          »
          »
          »
          »
          4 weeks ago, # ^ |
            Vote: I like it -10 Vote: I do not like it

          (A bit more detailed answer. Back to the original issue.)

          A bad thing -- as I see it -- is that I was left alone with my downvoted comment and without important information.

          Specifically, I still have no idea why the original comment was downvoted.

          I do not have information, neither about what exactly was bad about that my comment, nor about who downvoted it (so that I could ask them personally).

          How should I learn from my mistakes in such situation if I do not understand what exactly my mistake was?

          In my opinion, sharing information which allows other members to learn is a crucial thing for a community.

»
4 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

Solution to problem Codeforces round 447 Div.2 question A. QAQ was already available on the internet, well before the contest.Please visit source — http://www.geeksforgeeks.org/find-number-times-string-occurs-given-string/ to confirm. Hence I don't think people should be penalised if their code matches with someone...as they both referred the same source....codeforces please see into it !

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it -25 Vote: I do not like it

    I Agree.I am using Ideone keeping it secret since 15 contests.It has not done yet.don't skip my contest.plzz consider my case...!! MikeMirzayanov

»
3 weeks ago, # |
  Vote: I like it -13 Vote: I do not like it

delete2, coutinho, OutSpace, blindspot — this is 4 photo machines. You will can’t better, lol