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

Автор jqdai0815, история, 8 лет назад, По-английски

When I was submitting the problem D in round #371, I clicked the "Choose File" button and selected my code.

Before the submission, I read my code another time, found a bug in my code and fixed it. And then I clicked the "submit" button.

But it turned out that my solution got wrong answer on pretest 4. I stress-tested my solution, and found it passed the big random data. I was really shocked. umm... Maybe my solution failed on some small testcases. So I tried many ways to generate testcases. But my solution was right on all the testcases I generated.

After struggling for about 40mins, I gave up and submitted it again. It passed all the pretests.

I compared two codes, and just found I submitted the old version (before fixing the bug) at first time.

After asking my roommate, he said when you clicked the "Choose File" button, it would upload the file instead of recording the path.

In the rest time of the contest, I tried to solve problem B and E but failed.

I think I should quit from algorithm contest like YuukaKazami and study harder.

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

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

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

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

TooEmotional

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

"quit from algorithm contest like WJMZBMR"
Aren't you going to participate in ACM ICPC 2017 together?

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

    It's time for my teammates to carry me.

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

      I guess the mistake u made today, it actually isn't related to algorithmic contests at all. Maybe all you should do is be more careful. Lol

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

I believe, that depends on browser. In Chrome-based browsers I'm 100% it is not true (because I do such thing sometimes and it never failed me). What browser are you using?

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

    Chrome... I think I also do such thing many times, and I thought the code I submitted is the new version definitely.

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

      Maybe the problem was that you didn't actually save the new version of the code before submitting (i. e. it was only present in your editor buffer)?

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

Nobody cares .

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

I remember that my teammates laughed at me on some acm-icpc training for rechoosing a file after changing code. After two years, it's so good to know that I was right to be careful.

And btw. it's always sad to mess a contest not because of problem-related reasons.

EDIT: I hope Zlobober isn't right in comments above...

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

"I think I should quit from algorithm contest like WJMZBMR and study harder."

Isn't learning algorithms some sort of studying?

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

Maybe you need a better sleep.

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

Would this blog have got upvotes if the author was some Div2 guy ?

I mess up in contests too , should i cry and write about it everytime ?

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

    Messi missing an open goal and me missing an open goal has big difference. Isn't it?

    As far as I remember some high rated user(might be YuukaKazami) did not advance in Facebook hacker cup round because he submitted the solution of previous round. It's always good to know the type of mistake best sport programmers do.

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

    In fact that's a bit different situation. jqdai0815 told a case that raised a possibility of system being flawed. It turned out it was his simple mistake, but if it had turned out CF is flawed here it would have been useful to community. If that cheers you up, I also often complain about my stupid mistakes and I don't get upvotes for that kind of posts ^.^

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

      I don't believe that Swistakk doesn't get upvotes for everything he posts :P

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

      Writing a comment about wasting 40 mins on a problem and writing a blog are two different things.

      You are a serial poster of your views :) whereas jqdai0815 generally does not express his opinions. If you post once in blue moon about your bad experience then you'll get enough upvotes too.

      Having said that I think only three people in this community can get these many upvotes for a blog like this.

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

    Who said the world was fair?

    But then again, he earned it. The importance to say something which everybody listens.

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

Try Xcode, it saves automatically every time:)

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

多喝热水

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

"I think I should quit from algorithm contest like WJMZBMR and study harder."

If so, ACM ICPC 2017 would lose the strongest competitor.

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

of course quit it! there are so many better things than giving contests! :D

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

The same happened to itu during the ACM Regional Contest in Latin America. When we realized what happened, we started to laugh. At the end, we didn't classify to the WF because of our penalty time and it was not time to laugh :(

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

Just a small blog before today's storm :)

I think it was just TooSimple.

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

crying is a way your eyes speak when your mouth can't explain how broken your heart is

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

salam

while(true is true)

{

(!lose) && (win || learn);

continue;

}