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

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

Someone just sent me these from today's contest:

250648064

250772342

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

»
2 месяца назад, # |
  Проголосовать: нравится +296 Проголосовать: не нравится

»
2 месяца назад, # |
  Проголосовать: нравится +120 Проголосовать: не нравится

I think tourist stole your solution

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

    if he stole first problem solution, he stole all the solutions =) so, ban him! :P

    just kidding

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

    Not only he stole it, but also went back in time to reduce the time penalty. People will now time travel just to save their ratings, smh...

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

    I knew it, I knew it. The time machine exists.

»
2 месяца назад, # |
Rev. 4   Проголосовать: нравится -49 Проголосовать: не нравится

[Deleted]

»
2 месяца назад, # |
  Проголосовать: нравится +22 Проголосовать: не нравится

how are they so exact same even in terms of spaces and new lines and even boilerplates

  • »
    »
    2 месяца назад, # ^ |
      Проголосовать: нравится -34 Проголосовать: не нравится

    check his old submissions, its his style

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

    Yeah, I was thinking the same. I compared both codes, and they are almost the same (well the code in the main function are exact in both of them). I am not saying that you guys cheated (ofc it just don't make sense to cheat when you both were out of competition), but just imagine how many ways would be there to write the code in the main function. There would be trillions of them (these possibilities would be reduced a lot if possibly BERNARD is inspired by tourist in the way of writing codes or vice versa. Is it so?). Anyways, It's just cool to imagine that out of all these ways, there were 2 codes that were the same.

»
2 месяца назад, # |
  Проголосовать: нравится -57 Проголосовать: не нравится

yeah man, i also use his template and it happened to me once, (i use his templates cuz im in cool kids table)

»
2 месяца назад, # |
  Проголосовать: нравится +43 Проголосовать: не нравится

We have finally found an alt tourist account

»
2 месяца назад, # |
  Проголосовать: нравится -52 Проголосовать: не нравится

Even in this case tourist's submission is faster than yours

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

How are you generating the author and created comment in your code? (I hope its not manual)

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

    CP EDITOR HAS THIS INBUILT FUNCTION.

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

    For VS Code.

    • Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) to open the Command Palette.

    • Type Preferences: Configure User Snippets and select it from the dropdown.

    • Choose the language for which you want to create the snippet (e.g., C++).

    • In the opened snippet file, add the following snippet:

    Spoiler
    • Save the file.

    Now, whenever you type header and press Tab, it will insert the comment template with the current date and time.

»
2 месяца назад, # |
Rev. 2   Проголосовать: нравится -30 Проголосовать: не нравится

and it is also impossoble to increase rating if you solve simple enough problems

»
2 месяца назад, # |
  Проголосовать: нравится +30 Проголосовать: не нравится

That moment when whitespace tells you more than the code itself…

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

This tourist's alt account