Блог пользователя Kareem_Elgoker

Автор Kareem_Elgoker, история, 2 года назад, По-английски

I've got this message in the morning this day :

Attention!

Your solution 274855834 for the problem 1999F significantly coincides with solutions Kareem_Elgoker/274855834, Eyad_Abd_El-Mohsen/274908131. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation. For example, do not use ideone.com with the default settings (public access to your code). If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details. More information can be found at http://codeforces.me/blog/entry/8790. Such violation of the rules may be the reason for blocking your account or other penalties. In case of repeated violations, your account may be blocked.

My code : 274855834 His code : 274908131

We have used a pre-published combinatorics template from Usaco : the link for the template, you can find the template code after -> Method 2: Factorial Definition (Modular Inverses) — $$$\mathcal{O}(n + \log MOD)$$$

Also there is a proof that I don't cheat in this problem

I made a screencast for this contest and had uploaded it on youtube : https://youtu.be/whG44e-HVuc?si=e0kzzTJ_AvgphR10

SlavicG, flamestorm, mesanu, MikeMirzayanov

  • Проголосовать: нравится
  • +107
  • Проголосовать: не нравится

»
2 года назад, скрыть # |
 
Проголосовать: нравится -19 Проголосовать: не нравится

Agreed!

»
2 года назад, скрыть # |
 
Проголосовать: нравится -14 Проголосовать: не нравится

this is why you should make your own templates...

  • »
    »
    2 года назад, скрыть # ^ |
     
    Проголосовать: нравится +39 Проголосовать: не нравится

    And what if someone uses my templates in upcoming contests??

    • »
      »
      »
      2 года назад, скрыть # ^ |
      ← Rev. 2  
      Проголосовать: нравится +4 Проголосовать: не нравится

      unless you publish your templates it's unlikely someone is just gonna look at your submissions and decide to use your templates instead of the hundreds of well-known templates already out there...

      obviously using public templates is allowed and you should report false positives in the plagiarism detection, but this way it is just more convenient and you probably won't have to deal with that.

      Plus, it feels nice to use your own code.

      • »
        »
        »
        »
        2 года назад, скрыть # ^ |
         
        Проголосовать: нравится +36 Проголосовать: не нравится

        Actually, alot of my friends use some of my codes instead of writing templates themselves, sometimes we even study together and write a template together to use.

        Also, sometimes I reuse the same logic/code as people whom I have seen their solutions on problems I was stuck on.

        So, this really happens although its not very frequent

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Support SlavicG

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

support

»
2 года назад, скрыть # |
 
Проголосовать: нравится -6 Проголосовать: не нравится

Support.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Support

»
2 года назад, скрыть # |
 
Проголосовать: нравится -21 Проголосовать: не нравится

Support <3 , Maybe iam the reason.

»
2 года назад, скрыть # |
 
Проголосовать: нравится -8 Проголосовать: не нравится

Support

»
2 года назад, скрыть # |
 
Проголосовать: нравится +37 Проголосовать: не нравится

I think egyptians should stop spamming. You are defending 2 guys from the same university and they are probably friends, is it a coincidence?.

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Support

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

All support, kareem

»
2 года назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

na i think ur capping

»
2 года назад, скрыть # |
← Rev. 3  
Проголосовать: нравится +80 Проголосовать: не нравится

I am gonna try be objective here. The plag checker can't be blamed. Templates are identical and yes, it is pre-published, but the solve() part is identical as well just very slight differences. It is an easy problem, with simple maths logic so implementations shouldn't differ a lot.

Being friends from same university (as apparent in profiles and teams) raises suspicions also, but I think the screencast is a good proof it was a coincidence.

  • »
    »
    2 года назад, скрыть # ^ |
     
    Проголосовать: нравится +19 Проголосовать: не нравится

    same institute can very well lead to having same teachers, and most students adopt the implementation styles of their teachers (if the teachers do show their implementations, in my school they do (since preparing for OI)), hence they can have same implementation styles and almost same implementation for some classic algorithm or data structure.

    • »
      »
      »
      2 года назад, скрыть # ^ |
      ← Rev. 2  
      Проголосовать: нравится +17 Проголосовать: не нравится

      Yes, I tried to help even by saying screencast is a good proof there hadn't been cheating.

      But it is notoriously too identical the solve() part and as stated by some comments by master and grandmaster down below, submission by the pupil was 5 minutes after the screencast ended and was highly obfuscated yet same logic, structure and implementation of the CM code.

»
2 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +96 Проголосовать: не нравится

1) Your submissions are very similar even if we're not taking into account the copied template. As someone already pointed out here in the comments, solve part is practically identical. You can even kinda see who was copying whom just by looking at the code.

2) Your screencast doesn't really prove anything. Your submission was made at 18:44:47, Eyad_Abd_El-Mohsen made his at 19:26:39. Your video cuts off at approximately 19:21. Five minutes is plenty enough to change the variables' names and formatting (not even talking about how sus it is that your video cuts off this early).

Occam's razor (codeforces version): "If two dudes from the same university have very similar submissions, they probably cheated".

  • »
    »
    2 года назад, скрыть # ^ |
     
    Проголосовать: нравится +9 Проголосовать: не нравится

    some one already pointed out, solve is identical

    Yes, it was me. I did not further check the screencast, but your investigation and point 2 is good. I would not oppose.

  • »
    »
    2 года назад, скрыть # ^ |
    ← Rev. 2  
    Проголосовать: нравится -15 Проголосовать: не нравится

    By logic this contest is unrated for me, if I want to cheat and give solutions to someone, why did I solve the problems in my account? Is it to get skiped in my highly-rated personal account?

    I could go and solve the problems with him directly in his account, if I want to make this.

    Also why he didn't take problem G2 from me ??

»
2 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

لا لا لا لا لا لا لا لا لا لا لا لا جن جنون الكوري

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Support

»
2 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Ain't it all already fishy if you both are of same university?

»
2 года назад, скрыть # |
 
Проголосовать: нравится +103 Проголосовать: не нравится

I find it kind of humorous how clearly obfuscated Eyad_Abd_El-Mohsen's solution is.

Weirdest way to do k-(k+1)/2 = k/2
Who uses O_O for mod

I even checked other combinatorics problems he did to see if these quirks reappear: 270191738 224800945. They don't! He uses mod for mod just like anyone else and the code isn't as weird. Not even bringing the fact that you guys are from the same uni and do contests together, I would say it is great that codeforces skipped your solutions!

Also as smalyarovsky pointed out, the screencast doesnt mean anything.