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

Автор DoctorLai, история, 8 лет назад, По-английски
  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится

Автор DoctorLai, 10 лет назад, По-английски
  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится

Автор DoctorLai, 11 лет назад, По-английски

Just registered the new domain and migrate the old blog to these two lovely domains

HelloACM.com and CodingForSpeed.com

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

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

Автор DoctorLai, 11 лет назад, По-английски

Is it better to automatically select the right language based on the file extension on code submissions?

For example, if I choose code.py the system should automatically detect it is a Python source code instead of giving me a 'Compiler Error' if I forgot to select the right language?

Thanks

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

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

Автор DoctorLai, 11 лет назад, По-английски

I am new here. and I do not know fully how the contests work, up to now, including round 162, i have only participated three times in online contests.

I didn't know the tests during the contest are just a small portion (there are more difficult tests after contest ends), so the 'Accepted' shown during contests are just temp, the system will retest with harder tests.

The point i want to make here is , I am lazy, i choose Python because I can code shorter, but not executes faster... If I rewrite my solution in C++/C, it will pass all tests instead of the fact that Python gives me TL...

When I got 'accepted' with Python on problem D 'good sequence' (Dynamic Programming), I should have provided the same implementation in C++, or I should have used C++ in the first place...

I have learned from the lesson, and will definitely get a higher rating next time...

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

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

Автор DoctorLai, 11 лет назад, По-английски
  • Проголосовать: нравится
  • -14
  • Проголосовать: не нравится

Автор DoctorLai, 12 лет назад, По-английски
  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится