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

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

EDIT: Thanks for all the help, his rating has been updated and solutions unskipped

Okay so this was my solution: https://codeforces.com/contest/1328/submission/74415216

And this is the other guy, whom I do not know at all. agrawalamritanshu82 https://codeforces.com/contest/1328/submission/74481132

Our solutions do match almost exactly the same, however neither do I use Ideone or any platform where my code can be leaked and neither have I given my solution to that person. It seems like a coincidence since the solution was simple that it matched almost exactly. Now I do kind of feel bad for that guy since his solutions got skipped due to this, what can I do in this case?

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

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

Since the code is very simple. I believe both of you solve it independently. But maybe your password is too simple so that somebody login your account. Anyway change your password first:>

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

I think the code was simple that there is small but not zero chance to have 2 code similar to each other

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Suggest you resubmitting it, good luck :P

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

      My solution is not skipped. The other guy, however, got his solutions skipped since it was a rated contest for him I feel bad, so if there is any way to fix this that's why I am asking for advice.

      • »
        »
        »
        »
        4 года назад, # ^ |
        Rev. 3   Проголосовать: нравится -32 Проголосовать: не нравится

        Actually, there is but not friendly. Write some none-meaning function and put them in fron of main() like this

        inline void JustToAvoidSkippedAnother() { while (0 > 1); }
        inline void JustToAvoidSkippedOther() { while (false > true); } 
        inline void JustToAvoidSkipped() {
            JustToAvoidSkippedAnother();
            JustToAvoidSkippedOther();
            return void(true);
        }
        
        void main()
        {
            JustToAvoidSkipped();
        
            while (input())
            {
                solve();
            }
        
            return 0;
        }
        
»
4 года назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

same here, I write all my codes locally I don't use platforms like ideone. This was a simple coincidence, And I'm frankly surprised to see how similar our codes were.

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

But how did you come to know that HIS SOLUTION GOT SKIPPED. Hope you both are not friends :P