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

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

The USACO US Open (the last contest of the year) will be running from April 1-4. We should discuss problems here after the contest :) EDIT: Apparently someone else started a blog about this before me. Sorry about that. http://codeforces.me/blog/entry/44054

Полный текст и комментарии »

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

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

Hello,

On the problem Messenger the judge says I got TLE on test case #42. However, it also says Participant's Output: 0 (which is the correct answer — I checked other people's submissions for the problem). The only output I have is followed on the next line by return 0. In addition, I am fairly certain I am using a linear time solution for this problem (Z Algorithm), which should run in time. Why is this happening? My program terminates immediately after printing the answer, so it should be almost impossible for me to get TLE if I output the correct answer. I thought it might be because I printed AC at exactly 2000ms, so I submitted this program twice to check — both times I got AC and TLE on test case 42. Is this a bug with the grading system?

The only difference between the submissions is a commented out line: Submission 1 Submission 2

Thanks for the help

Полный текст и комментарии »

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

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

The 3rd USACO of the 2015-2016 year is open from February 19-22 (It's February 18 now, and it's open for some reason, but whatever... maybe the opening time doesn't use EST). Unless someone else has already started a blog about this (in which case it'd be nice to have a link in the comments), we should discuss the problems here after it ends.

UPD: Contest is over. Discuss! UPD: Results are here

Полный текст и комментарии »

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