tsg11's blog

By tsg11, history, 8 months ago, In English

Today, when I was browsing the Codeforces contest scoreboards with my friends, I discovered something really amazing:

1 2 3 4 5

1 2 3 4 5

I cannot understand why someone would change their default theme and code style multiple times during a competition. Perhaps this is where the gap lies between me and IGM users?

NOTE: This is just a suspicion. I have no clear evidence to prove that this user cheated.

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

»
8 months ago, hide # |
 
Vote: I like it +21 Vote: I do not like it

Auto comment: topic has been updated by tsg11 (previous revision, new revision, compare).

»
8 months ago, hide # |
 
Vote: I like it +43 Vote: I do not like it

I think it could just be the difference between pasting the fast I/O model and hand-writing it? Or it could be the auto-formatting in VS Code? There is no clear evidence for IGM.

»
8 months ago, hide # |
 
Vote: I like it +20 Vote: I do not like it

As I'm a friend of rgw2010's and he cant log on his codeforces id becuase cloudfare,i will paraphrase his words:

Generally, a template will be prepared for use, and in some urgent situations, it will not be used, instead I will use cin etc. Meanwhile, due to my personal habit, I usually add spaces, but sometimes it may not be perfect. Therefore, if time is not urgent, I will use formatting tools for the code.

btw I hold a neutral viewpoint so dont blame me if he really cheated:)

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it -6 Vote: I do not like it

    But this cannot explain the mixed use of ++i and i++ in one contest

    • »
      »
      »
      8 months ago, hide # ^ |
       
      Vote: I like it -19 Vote: I do not like it

      I asked rgw about this question and he says that he always mix ++i and i++ in his code. I know that may heard ridiculous and unbelievable, but here is a blog created by him which stores all his model in it. Check it if you want to.

      https://www.luogu.me/paste/ix0ouwq8

      • »
        »
        »
        »
        8 months ago, hide # ^ |
         
        Vote: I like it -11 Vote: I do not like it

        For the link you provided, it seems that the code inside was not written on the same day(Or unnecessary), so it is quite normal to mix i++ and ++i in these codes.

        And how should you explain it https://mirror.codeforces.com/submissions/rgw2010/contest/2101 Completed the code for Div1 A/B/C within 13 minutes?

        • »
          »
          »
          »
          »
          8 months ago, hide # ^ |
           
          Vote: I like it -40 Vote: I do not like it

          actually, I think you need to check the time properly, because it is exactly 40min for completing the code for ABC.

          • »
            »
            »
            »
            »
            »
            8 months ago, hide # ^ |
            Rev. 2  
            Vote: I like it +10 Vote: I do not like it

            I mean the first submission. And I also can't understand why the user changed all their sources after submitting A for the first time.

            • »
              »
              »
              »
              »
              »
              »
              8 months ago, hide # ^ |
               
              Vote: I like it -54 Vote: I do not like it

              Is that really a problem? Thirteen minutes for the first version of the code seems fine to me. It’s not as if it took thirteen minutes to address all these questions.

              Also, regarding changes to the code, why would he need to stick to his original code once he realizes that the idea behind it is completely wrong?

            • »
              »
              »
              »
              »
              »
              »
              8 months ago, hide # ^ |
               
              Vote: I like it -51 Vote: I do not like it

              I don't understand why you think he might have cheated just because of a slight change in coding style (adding or removing spaces in the #define section). This can't serve as conclusive evidence. Moreover, based on my knowledge of his abilities, it's perfectly normal for him to write ABC within 40 minutes, and the same goes for many IGMs.

              • »
                »
                »
                »
                »
                »
                »
                »
                8 months ago, hide # ^ |
                 
                Vote: I like it 0 Vote: I do not like it

                So you will replace the entire default source when your code encounters errors?

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  8 months ago, hide # ^ |
                  Rev. 2  
                  Vote: I like it -30 Vote: I do not like it

                  He didn't replace his entire default source, he only delete some lines and add some spaces.

                  Moreover, I believe that we cannot speculate on others' thoughts when they write code based on our own coding habits, not to mention that he indeed only made a few insignificant modifications to the default source.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  8 months ago, hide # ^ |
                   
                  Vote: I like it +8 Vote: I do not like it

                  why would someone use include bits/stdc++.h in one code, and then just include 2 different things in the next code(its simply just not optimal)?

                  also in first code he uses solve(), in the next one the solution is in the main().

                  imho if u rewrite the code, u dont just delete all of it, u delete the solution only, an leave the template as it is.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  8 months ago, hide # ^ |
                   
                  Vote: I like it 0 Vote: I do not like it

                  iam assuming he has different templates in different tabs of his IDE, im just sharing a possibility

        • »
          »
          »
          »
          »
          8 months ago, hide # ^ |
          Rev. 2  
          Vote: I like it 0 Vote: I do not like it

          Idk about him, but sublime text has ++i in the for loop snippet and whenever I have to use nested loops I usually writes the inside loop manually (i.e. j++). (It's just me)

»
8 months ago, hide # |
 
Vote: I like it +23 Vote: I do not like it

Perhaps this is where the gap lies between me and IGM users?

»
8 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

Perhaps this is where the gap lies between me and IGM users?

»
8 months ago, hide # |
 
Vote: I like it +54 Vote: I do not like it
  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it -33 Vote: I do not like it

    As a friend of rgw, I asked him and he said that:

    You might notice that after passing A, it took me quite a while before I passed B and C. That’s because when I first saw B, I couldn’t think of a solution, so I went to work on C instead. However, C didn’t pass the sample tests, so I went back to B, found the correct idea for solution, and passed it. After that, I spotted a small mistake in C, and only then did I manage to pass both problems within one minute.

  • »
    »
    8 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I think this is abnormal. People may use different IO ways, but change this in ~30s is strange.

»
8 months ago, hide # |
 
Vote: I like it +53 Vote: I do not like it

Perhaps this is where the gap lies between me and IGM users?

»
8 months ago, hide # |
 
Vote: I like it -40 Vote: I do not like it

bro exactly he's a famous player in CNOI

»
8 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

but if he actually is cheating, by teaming, would it not make more sense to use your own template to avoid plagiarism — or is it that the rest of the teamers don't participate in the contest?

  • »
    »
    8 months ago, hide # ^ |
    Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    The advantage of teaming is higher coding speed or otherwise you could just let the stronger individual to participate himself. (This comment advocates neither)

»
8 months ago, hide # |
 
Vote: I like it +100 Vote: I do not like it

Perhaps this is why there is no gap between me and IGM users?

»
8 months ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

Perhaps this is where the gap lies between me and IGM users?

»
8 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

The user is disabled now.