DoctorLai's blog

By DoctorLai, history, 8 years ago, In English
  • Vote: I like it
  • -3
  • Vote: I do not like it

By DoctorLai, 10 years ago, In English
  • Vote: I like it
  • -3
  • Vote: I do not like it

By DoctorLai, 11 years ago, In English

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

HelloACM.com and CodingForSpeed.com

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it

By DoctorLai, 11 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By DoctorLai, 11 years ago, In English

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...

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By DoctorLai, 11 years ago, In English
  • Vote: I like it
  • -14
  • Vote: I do not like it

By DoctorLai, 12 years ago, In English
  • Vote: I like it
  • +10
  • Vote: I do not like it